--- projects/cms/source/reports/rrdgraphing/Makefile 2003/02/16 20:35:58 1.2 +++ projects/cms/source/reports/rrdgraphing/Makefile 2003/02/16 21:46:25 1.3 @@ -1,5 +1,5 @@ # Makefile for the rrd graphing -# $Id: Makefile,v 1.2 2003/02/16 20:35:58 tdb Exp $ +# $Id: Makefile,v 1.3 2003/02/16 21:46:25 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 $(FILES) $(INSTALLPREFIX) + @echo "CVS" > TAR_EXCLUDE_TMP + @echo ".#*" >> TAR_EXCLUDE_TMP + @tar -cf - -X TAR_EXCLUDE_TMP $(FILES) | ( cd $(INSTALLPREFIX) && tar -xf - ) + @rm -f TAR_EXCLUDE_TMP @echo " copying text information files to $(INSTALLPREFIX)" @cp $(BUILD)/COPYING $(CHANGELOG) $(INSTALLPREFIX) @echo "Completed install to $(INSTALLPREFIX)"