aboutsummaryrefslogtreecommitdiffstats
path: root/admin/www/Makefile
diff options
context:
space:
mode:
author <>2003-01-02 05:25:50 +0000
committer <>2003-01-02 05:25:50 +0000
commitb132a73f15e432eaf43310fce9196ca0c0651465 (patch)
treec15f816ba7c4de99fef510e3bd75af0890d47441 /admin/www/Makefile
downloadmailman2-b132a73f15e432eaf43310fce9196ca0c0651465.tar.gz
mailman2-b132a73f15e432eaf43310fce9196ca0c0651465.tar.xz
mailman2-b132a73f15e432eaf43310fce9196ca0c0651465.zip
This commit was manufactured by cvs2svn to create branch
'Release_2_1-maint'.
Diffstat (limited to '')
-rw-r--r--admin/www/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/admin/www/Makefile b/admin/www/Makefile
new file mode 100644
index 00000000..23e5eeff
--- /dev/null
+++ b/admin/www/Makefile
@@ -0,0 +1,28 @@
+HT2HTML = $(HOME)/projects/ht2html/ht2html.py
+
+HTSTYLE = MMGenerator
+HTALLFLAGS = -f -s $(HTSTYLE)
+HTROOT = .
+HTFLAGS = $(HTALLFLAGS) -r $(HTROOT)
+HTRELDIR = .
+
+SOURCES = $(shell echo *.ht)
+EXTRA_TARGETS = faq.html todo.html
+TARGETS = $(filter-out *.html,$(SOURCES:%.ht=%.html)) $(EXTRA_TARGETS)
+GENERATED_HTML= $(SOURCES:.ht=.html)
+
+.SUFFIXES: .ht .html
+.ht.html:
+ $(HT2HTML) $(HTFLAGS) $(HTRELDIR)/$<
+
+all: $(TARGETS)
+
+faq.ht: ../../FAQ
+ ../bin/faq2ht.py $< $@
+
+todo.ht: ../../TODO
+ ../bin/mm2do $< $@
+
+clean:
+ -rm $(GENERATED_HTML)
+ -rm faq.ht todo.ht