--- projects/cms/source/reports/rrdgraphing/Makefile 2003/02/16 01:00:53 1.1 +++ 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.1 2003/02/16 01:00:53 tdb Exp $ +# $Id: Makefile,v 1.3 2003/02/16 21:46:25 tdb Exp $ include Config.inc @@ -11,6 +11,7 @@ all : dist .PHONY : build build : cp -R $(FILES) $(BUILD) + cp $(SOURCEROOT)/$(LICFILE) $(BUILD) @touch $(MCOMPILECHECK) ### Changelog @@ -52,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)"