r855 - trunk/scripts

lizardo at linuxfromscratch.org lizardo at linuxfromscratch.org
Sun Oct 24 11:51:05 PDT 2004


Author: lizardo
Date: 2004-10-24 12:51:03 -0600 (Sun, 24 Oct 2004)
New Revision: 855

Modified:
   trunk/scripts/update-website.mk
Log:
Added a check for TARGETDIR on update-website.mk. Also testing the post-commit script.



Modified: trunk/scripts/update-website.mk
===================================================================
--- trunk/scripts/update-website.mk	2004-10-24 12:21:47 UTC (rev 854)
+++ trunk/scripts/update-website.mk	2004-10-24 18:51:03 UTC (rev 855)
@@ -30,6 +30,11 @@
 # Current year
 YEAR = $(shell date +%Y)
 
+ifeq ($(TARGETDIR),)
+no-targetdir:
+	$(error TARGETDIR is not defined)
+endif
+
 ifneq ($(PWD),$(TARGETDIR))
 pwd-check:
 	$(error You should run this script from $(TARGETDIR))




More information about the website mailing list