|
From: Bruce S. <bl...@us...> - 2008-04-22 20:36:04
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv8729/scripts Modified Files: gzip Log Message: Do it the "right" way. :-) I'm also moving the binaries from /bin to /usr/bin because a bug in the Makefile prevents it from working correctly with "PREFIX=/". Hope that's OK! Index: gzip =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/gzip,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- gzip 22 Apr 2008 17:46:20 -0000 1.10 +++ gzip 22 Apr 2008 20:35:59 -0000 1.11 @@ -31,20 +31,12 @@ ;; install ) - cp -p gunzip $CDDIR/bin || exit 1 - cp -p gzexe $CDDIR/bin || exit 1 - cp -p gzip $CDDIR/bin || exit 1 - cp -p zcat $CDDIR/bin || exit 1 - cp -p zcmp $CDDIR/bin || exit 1 - cp -p zdiff $CDDIR/bin || exit 1 - cp -p zegrep $CDDIR/bin || exit 1 - cp -p zfgrep $CDDIR/bin || exit 1 - cp -p zforce $CDDIR/bin || exit 1 - cp -p zgrep $CDDIR/bin || exit 1 - cp -p zless $CDDIR/bin || exit 1 - cp -p zmore $CDDIR/bin || exit 1 - cp -p znew $CDDIR/bin || exit 1 - ln -sf gzip $CDDIR/bin/uncompress || exit 1 + + rm -rf $TMPDIR || exit 1 + make install DESTDIR=$TMPDIR || exit 1 + copy_files $TMPDIR/usr/bin $CDDIR/usr || exit 1 + copy_docs $TMPDIR || exit 1 + rm -rf $TMPDIR ;; * ) |