Author: dylan
Date: 2006-03-20 01:20:06 -0500 (Mon, 20 Mar 2006)
New Revision: 974
Added:
trunk/web/Recipe
Modified:
trunk/
Log:
Added (hopefully working) recipe. Need to fix bake upload though.
Property changes on: trunk
___________________________________________________________________
Name: svk:merge
- 1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/havercurs-objc:43089
1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/local/trunk:11166
1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/local/trunk-merge-10131:11178
1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/winch/trunk:43192
27e50396-46e3-0310-8b22-ae223a1f35ce:/local:212
e9404bb1-7af0-0310-a7ff-e22194cd388b:/haver/local:2455
edfcd8bd-4ce7-0310-a97e-bb1efd40edf3:/local:238
+ 1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/havercurs-objc:43089
1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/local/trunk:11166
1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/local/trunk-merge-10131:11178
1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/winch/trunk:43192
27e50396-46e3-0310-8b22-ae223a1f35ce:/local:212
ca0be05d-e60e-0410-9596-96133d777aec:/haver/local:1339
e9404bb1-7af0-0310-a7ff-e22194cd388b:/haver/local:2455
edfcd8bd-4ce7-0310-a97e-bb1efd40edf3:/local:238
Added: trunk/web/Recipe
===================================================================
--- trunk/web/Recipe 2006-03-12 01:34:10 UTC (rev 973)
+++ trunk/web/Recipe 2006-03-20 06:20:06 UTC (rev 974)
@@ -0,0 +1,49 @@
+# vim: set ft=bake:
+let T = 'templates';
+let TTFLAGS = "-I $T -P $T/config.tt";
+let FIXFLAGS = "--noext";
+let RSYNCFLAGS = "-vrzlpt --include .htaccess --exclude '.*' --exclude '*~'";
+let TT = "./bin/ttproc";
+let FIX = "./bin/fixhtml";
+let RSYNC = "rsync";
+let VALIDATE = "/bin/sh ./bin/validator.sh";
+let TAR = "tar";
+let TIDY = "tidy";
+option quiet;
+
+action main {
+ build('.map');
+}
+action clean {
+ clean('.map');
+}
+
+action upload {
+ print("Uploading...");
+ % $RSYNC $RSYNCFLAGS ./ hardison.net:pub/
+}
+
+deep pattern "*.html" : ["*.ttml", "$T/page.tt", "$T/config.tt"] {
+ print("TT $IN");
+ % $TT $TTFLAGS $IN > $OUT
+ print("FIX $OUT");
+ % $FIX $FIXFLAGS $OUT
+ print ("TIDY $OUT");
+ % $TIDY -qm $OUT
+}
+
+pattern "software/scripts/*.pl.html" : "software/scripts/*.pl" {
+ print("PERL $IN");
+ % perltidy -html -nopod2html $IN
+}
+
+deep pattern "*.css" : "*.tcss" {
+ print("TT $IN");
+ % $TT $TTFLAGS $IN > $OUT
+}
+
+deep pattern ".map" : ["*.html", "*.css"] {
+ % touch .map
+}
+
+
_______________________________________________
Haver-commits mailing list
[email protected]
https://mail.gna.org/listinfo/haver-commits