r934 - html/trunk/scripts

lizardo at linuxfromscratch.org lizardo at linuxfromscratch.org
Mon Jan 10 18:54:05 PST 2005


Author: lizardo
Date: 2005-01-10 19:54:03 -0700 (Mon, 10 Jan 2005)
New Revision: 934

Modified:
   html/trunk/scripts/update-website.mk
Log:
Fixed update-website.mk.


Modified: html/trunk/scripts/update-website.mk
===================================================================
--- html/trunk/scripts/update-website.mk	2005-01-11 02:41:15 UTC (rev 933)
+++ html/trunk/scripts/update-website.mk	2005-01-11 02:54:03 UTC (rev 934)
@@ -42,7 +42,8 @@
 update-website: update-alfs update-blfs update-hints update-hlfs \
 	update-lfs update-patches update-www
 
-news-archive: $(foreach y,$(YEARS),$(foreach i,$(PROJECTS),news/$(i)/$(y)))
+news-archive: $(foreach y, $(YEARS), \
+	$(foreach i, $(PROJECTS), $(if $(wildcard $(i)/news-$(y).txt), news/$(i)/$(y))))
 
 news-html: alfs/news.html blfs/news.html hints/news.html hlfs/news.html \
 	lfs/news.html patches/news.html




More information about the website mailing list