2002-05-07 12:43:31 +00:00
|
|
|
ACTION=@echo preprocessing $@; rm -f $@; $(HOME)/bin/fcpp -WWW -Uunix -H -C -V -LL >$@
|
2002-03-27 09:25:09 +00:00
|
|
|
|
|
|
|
SRC := $(wildcard *.t)
|
2002-09-23 05:19:11 +00:00
|
|
|
SOBJS := daily.shtml main.shtml index.shtml status.shtml \
|
2003-12-09 09:17:54 +00:00
|
|
|
bugs.shtml requests.shtml patches.shtml
|
2002-09-23 05:19:11 +00:00
|
|
|
OBJS := $(SRC:%.t=%.html) $(SOBJS)
|
2002-03-27 09:25:09 +00:00
|
|
|
|
|
|
|
.SUFFIXES: .t .html
|
|
|
|
|
|
|
|
%.html : %.t
|
|
|
|
$(ACTION) $<
|
|
|
|
|
2002-05-27 14:22:23 +00:00
|
|
|
%.shtml : %.t
|
|
|
|
$(ACTION) $<
|
|
|
|
|
2004-10-01 06:17:18 +00:00
|
|
|
all: $(OBJS) head.tmpl
|
2002-03-27 09:25:09 +00:00
|
|
|
@(cd schematics; $(MAKE))
|
|
|
|
@(cd docs; $(MAKE))
|
|
|
|
@(cd mods; $(MAKE))
|
2002-03-28 14:49:12 +00:00
|
|
|
@(cd internals; $(MAKE))
|
|
|
|
@(cd irc; $(MAKE))
|
2002-05-26 20:08:35 +00:00
|
|
|
@(cd devcon; $(MAKE))
|
2002-06-01 18:13:49 +00:00
|
|
|
@(cd sh-win; $(MAKE))
|
2002-06-17 13:48:45 +00:00
|
|
|
@(cd download; $(MAKE))
|
2002-08-06 11:54:58 +00:00
|
|
|
@(cd manual; $(MAKE))
|
2002-08-14 17:46:56 +00:00
|
|
|
@(cd manual-1.2; $(MAKE))
|
2002-10-11 12:15:49 +00:00
|
|
|
@(cd fonts; $(MAKE))
|
|
|
|
@(cd lang; $(MAKE))
|
2002-08-06 19:25:46 +00:00
|
|
|
@(cd tshirt-contest; $(MAKE))
|
2003-03-16 22:15:25 +00:00
|
|
|
@(cd screenshots; $(MAKE))
|
2003-12-04 15:05:21 +00:00
|
|
|
@(cd digest; $(MAKE))
|
2004-12-23 12:06:03 +00:00
|
|
|
@(cd playerhistory; $(MAKE))
|
2002-03-27 09:25:09 +00:00
|
|
|
|
2004-10-01 06:17:18 +00:00
|
|
|
head.tmpl: head.t
|
|
|
|
$(ACTION) -DTWIKI $<
|
|
|
|
|
2002-03-27 09:25:09 +00:00
|
|
|
main.html: main.t activity.html
|
|
|
|
|
2002-07-03 11:15:51 +00:00
|
|
|
main.shtml: main.t activity.html
|
|
|
|
|
|
|
|
index.shtml: main.shtml
|
|
|
|
ln -s main.shtml index.shtml
|
|
|
|
|
2002-05-27 14:22:23 +00:00
|
|
|
daily.shtml: daily.t
|
|
|
|
|
2002-08-06 22:07:36 +00:00
|
|
|
clean:
|
|
|
|
find . -name "*html" | xargs rm
|