--- projects/cms/source/reports/php/Makefile 2003/02/16 14:52:43 1.6 +++ projects/cms/source/reports/php/Makefile 2003/02/16 21:46:24 1.7 @@ -1,5 +1,5 @@ # Makefile for the php pages -# $Id: Makefile,v 1.6 2003/02/16 14:52:43 tdb Exp $ +# $Id: Makefile,v 1.7 2003/02/16 21:46:24 tdb Exp $ include Config.inc @@ -53,7 +53,10 @@ install : $(MCOMPILECHECK) $(CHANGELOG) @echo "Installing to $(INSTALLPREFIX)" @echo " copying files to $(INSTALLPREFIX)" @mkdir -p $(INSTALLPREFIX) - @cp -R $(TMPDIR)/* $(INSTALLPREFIX) + @echo "CVS" > TAR_EXCLUDE_TMP + @echo ".#*" >> TAR_EXCLUDE_TMP + @tar -cf - -X TAR_EXCLUDE_TMP -C $(TMPDIR) `cd $(TMPDIR) && echo *` | ( cd $(INSTALLPREFIX) && tar -xf - ) + @rm -f TAR_EXCLUDE_TMP @echo " copying text information files to $(INSTALLPREFIX)" @cp COPYING $(CHANGELOG) $(INSTALLPREFIX) @echo "Completed install to $(INSTALLPREFIX)"