From 89e687de8bc635ff73b002b2ab494b0d88e13f10 Mon Sep 17 00:00:00 2001 From: Tharre Date: Sat, 16 Aug 2014 01:07:03 +0200 Subject: Add redo-ifcreate (and add redo-always properly) --- Redofile | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'Redofile') 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 -- cgit v1.2.3-70-g09d2