aboutsummaryrefslogtreecommitdiffstats
path: root/Redofile
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2014-08-16 01:07:03 +0200
committerTharre <tharre3@gmail.com>2014-08-16 01:17:51 +0200
commit89e687de8bc635ff73b002b2ab494b0d88e13f10 (patch)
tree44a22030a6f30547eb40e303d4f39b0f308f4f57 /Redofile
parent1d7b303de42dd4763165c46f0b2f8bad2c3a407f (diff)
downloadredo-89e687de8bc635ff73b002b2ab494b0d88e13f10.tar.gz
redo-89e687de8bc635ff73b002b2ab494b0d88e13f10.tar.xz
redo-89e687de8bc635ff73b002b2ab494b0d88e13f10.zip
Add redo-ifcreate (and add redo-always properly)
Diffstat (limited to 'Redofile')
-rw-r--r--Redofile22
1 files changed, 13 insertions, 9 deletions
diff --git a/Redofile b/Redofile
index a1bdd41..ab241f9 100644
--- a/Redofile
+++ b/Redofile
@@ -8,15 +8,19 @@ export VERSION="pre-0.01"
DESTDIR=${DESTDIR-/usr/bin}
if [ "$1" = "all" ]; then
- redo-ifchange $OUTDIR/redo $OUTDIR/redo-ifchange
+ redo-ifchange $OUTDIR/redo $OUTDIR/redo-ifchange $OUTDIR/redo-ifcreate \
+ $OUTDIR/redo-always
elif [ "$1" = "clean" ]; then
- rm -rf $OUTDIR/*.tmp $OUTDIR/*.o $OUTDIR/redo $OUTDIR/redo-ifchange $OUTDIR/CC
- # autoconf stuff
- rm -rf autom4te.cache config.h.in configure config.status config.log config.h
+ rm -rf $OUTDIR/*.tmp $OUTDIR/*.o $OUTDIR/redo $OUTDIR/redo-ifchange \
+ $OUTDIR/redo-ifcreate $OUTDIR/redo-always $OUTDIR/CC
+ # autoconf stuff
+ rm -rf autom4te.cache config.h.in configure config.status config.log config.h
elif [ "$1" = "install" ]; then
- redo-ifchange all
- mkdir -p $DESTDIR
- install $OUTDIR/redo $DESTDIR
- install $OUTDIR/redo-ifchange $DESTDIR
- echo "Finished installing."
+ redo-ifchange all
+ mkdir -p $DESTDIR
+ install $OUTDIR/redo $DESTDIR
+ install $OUTDIR/redo-ifchange $DESTDIR
+ install $OUTDIR/redo-ifcreate $DESTDIR
+ install $OUTDIR/redo-always $DESTDIR
+ echo "Finished installing."
fi