Update of /cvsroot/audacity/htdocs In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv9292
Modified Files: Makefile Log Message: read the date of the audacity_website.pot file from the file mtime rather than assuming it is today, otherwise the website change date updates when the program audacity.pot file is updated. Index: Makefile =================================================================== RCS file: /cvsroot/audacity/htdocs/Makefile,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- Makefile 7 Aug 2009 13:23:04 -0000 1.27 +++ Makefile 22 Aug 2009 19:06:15 -0000 1.28 @@ -45,9 +45,9 @@ # right at the beginning so their expanded values are used in the commands. $(INC_FILE): $(POT_FILE) $(PROG_POT_FILE) echo "<?php // This file is auto-generated by the Makefile. Don't edit it because the changes will be lost" > $(INC_FILE) - echo "\$$web_year = $$(date +%Y);" >> $(INC_FILE) - echo "\$$web_month = $$(date +%-m);" >> $(INC_FILE) - echo "\$$web_day = $$(date +%-d);" >> $(INC_FILE) + echo "\$$web_year = $$(date -r $(POT_FILE) +%Y);" >> $(INC_FILE) + echo "\$$web_month = $$(date -r $(POT_FILE) +%-m);" >> $(INC_FILE) + echo "\$$web_day = $$(date -r $(POT_FILE) +%-d);" >> $(INC_FILE) echo "\$$prog_year = $$(date -r $(PROG_POT_FILE) +%Y);" >> $(INC_FILE) echo "\$$prog_month = $$(date -r $(PROG_POT_FILE) +%-m);" >> $(INC_FILE) echo "\$$prog_day = $$(date -r $(PROG_POT_FILE) +%-d);" >> $(INC_FILE) ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Audacity-cvs mailing list Audacity-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/audacity-cvs