Author: dylan
Date: 2004-12-29 14:39:15 -0500 (Wed, 29 Dec 2004)
New Revision: 451
Modified:
trunk/web/Makefile
Log:
added $Id$ to top of makefile.
Modified: trunk/web/Makefile
===================================================================
--- trunk/web/Makefile 2004-12-29 18:12:39 UTC (rev 450)
+++ trunk/web/Makefile 2004-12-29 19:39:15 UTC (rev 451)
@@ -1,28 +1,31 @@
+# $Id$
-
-SFUSER = $(shell cat ~/.sfuser)
T = templates
DEPENDS = $T/init $T/config bin/tt bin/fixhtml \
$T/macros/html \
$T/thanks \
$T/sidebar \
$T/menu
+
PERL5LIB = ./lib
TTFLAGS = -I $T -P init -P config
FIXFLAGS = --noext
RSYNCFLAGS = -vaz --exclude '.svn'
TIDYFLAGS = -q
+TARFLAGS = --exclude "*.tar.*" --exclude "*.svn*"
-
TT = ./bin/tt
FIX = ./bin/fixhtml
RSYNC = rsync
TIDY = tidy
VALIDATE = validate
+TAR = tar
+SFUSER = $(shell cat ~/.sfuser)
+SVNREV = $(shell svn info|awk -F': ' '/Revision/ { print $$2 }')
ifdef FAST
-TT_PATH := $(shell which $(TT))
-FIX_PATH := $(shell which $(FIX))
+TT_PATH = $(shell which $(TT))
+FIX_PATH = $(shell which $(FIX))
TT = pperl $(TT_PATH)
FIX = pperl $(FIX_PATH)
endif
@@ -47,9 +50,13 @@
rm -vf $(targets)
validate: $(html)
- validate $(html)
+ $(VALIDATE) $(html)
+dist:
+ $(TAR) $(TARFLAGS) -cjf "haver-web-$(SVNREV).tar.bz2" .
+
+
%.html: %.thtml $(DEPENDS)
@echo "TT $<"
@$(TT) $(TTFLAGS) $< > $@
Property changes on: trunk/web/Makefile
___________________________________________________________________
Name: svn:keywords
+ Id