Deleting the last menu item no longer gives a negative cursor position
[kugel-rb.git] / www / Makefile
blobb1a971a382835976cb4d7e39cccb228ddfb4603a
1 ACTION=@echo preprocessing $@; rm -f $@; $(HOME)/bin/fcpp -WWW -Uunix -H -C -V -LL >$@
3 SRC := $(wildcard *.t)
4 SOBJS := daily.shtml main.shtml index.shtml status.shtml \
5 bugs.shtml requests.shtml patches.shtml
6 OBJS := $(SRC:%.t=%.html) $(SOBJS)
8 .SUFFIXES: .t .html
10 %.html : %.t
11 $(ACTION) $<
13 %.shtml : %.t
14 $(ACTION) $<
16 all: $(OBJS) head.tmpl
17 @(cd schematics; $(MAKE))
18 @(cd docs; $(MAKE))
19 @(cd mods; $(MAKE))
20 @(cd internals; $(MAKE))
21 @(cd irc; $(MAKE))
22 @(cd devcon; $(MAKE))
23 @(cd sh-win; $(MAKE))
24 @(cd download; $(MAKE))
25 @(cd manual; $(MAKE))
26 @(cd manual-1.2; $(MAKE))
27 @(cd fonts; $(MAKE))
28 @(cd lang; $(MAKE))
29 @(cd tshirt-contest; $(MAKE))
30 @(cd screenshots; $(MAKE))
31 @(cd digest; $(MAKE))
33 head.tmpl: head.t
34 $(ACTION) -DTWIKI $<
36 main.html: main.t activity.html
38 main.shtml: main.t activity.html
40 index.shtml: main.shtml
41 ln -s main.shtml index.shtml
43 daily.shtml: daily.t
45 clean:
46 find . -name "*html" | xargs rm