Author: dylan
Date: 2004-12-28 19:19:37 -0500 (Tue, 28 Dec 2004)
New Revision: 441

Modified:
   trunk/web/Makefile
Log:
makefile improvements.


Modified: trunk/web/Makefile
===================================================================
--- trunk/web/Makefile  2004-12-29 00:12:12 UTC (rev 440)
+++ trunk/web/Makefile  2004-12-29 00:19:37 UTC (rev 441)
@@ -1,11 +1,12 @@
 
 T         = templates
-GDEPENDS  = $T/init $T/config
+DEPENDS  = $T/init $T/config bin/tt bin/fixhtml Makefile
+
 PERL5LIB  = ./lib
 
 
 TTFLAGS    = -I $T -P init -P config
-FIXFLAGS   = -vR
+FIXFLAGS   = -R
 RSYNCFLAGS = -vaz --exclude '.svn'
 TIDYFLAGS  = -q
 
@@ -50,7 +51,7 @@
        @$(FIX) $(FIXFLAGS) $@
        
 
-%.html: %.tmp
+%.html: %.tmp $(DEPENDS)
        @echo "TIDY $@"
        @$(TIDY) $(TIDYFLAGS) $< > $@
 
@@ -61,6 +62,9 @@
        @$(TT) $(TTFLAGS) $< > $@
 
 
+fast:
+       make FAST=1
+
 ifdef FAST
 stop:
        pperl -k $(TT_PATH)
@@ -70,4 +74,4 @@
 
 .SUFFIXES:
 .INTERMEDIATE: %.tmp
-.PHONY: build upload clean realclean check fullcheck dist stop validate
+.PHONY: build upload clean realclean check fullcheck dist stop validate fast


Reply via email to