Author: dylan
Date: 2005-01-08 19:50:29 -0500 (Sat, 08 Jan 2005)
New Revision: 549
Modified:
trunk/web/Makefile
Log:
Made the makefile less ugly...
Modified: trunk/web/Makefile
===================================================================
--- trunk/web/Makefile 2005-01-08 07:10:29 UTC (rev 548)
+++ trunk/web/Makefile 2005-01-09 00:50:29 UTC (rev 549)
@@ -1,5 +1,8 @@
# $Id$
+
+
+# BEGIN CONFIG
T = templates
DEPENDS = $T/init $T/config bin/tt bin/fixhtml \
$T/macros/html \
@@ -8,6 +11,9 @@
$T/menu \
$T/page
+# Extra build targets.
+TARGETS = css/haver.css
+
PERL5LIB = lib
TTFLAGS = -I $T -P init -P config
FIXFLAGS = --noext
@@ -15,6 +21,8 @@
TIDYFLAGS = -q
TARFLAGS = --exclude "*.tar.*" --exclude "*.svn*"
+# END CONFIG
+
TT = ./bin/tt
FIX = ./bin/fixhtml
RSYNC = rsync
@@ -42,7 +50,7 @@
input := $(patsubst ./%,%,$(shell find -name '*.thtml'))
html := $(input:.thtml=.html)
-targets := $(html) css/haver.css
+targets := $(html) $(TARGETS)
build: $(targets)