rockbox/www/Makefile
Daniel Stenberg 1e94b873c4 'screenshots' needs a make too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3454 a1c6a512-1295-4272-9138-f99709370657
2003-03-16 22:15:25 +00:00

42 lines
847 B
Makefile

ACTION=@echo preprocessing $@; rm -f $@; $(HOME)/bin/fcpp -WWW -Uunix -H -C -V -LL >$@
SRC := $(wildcard *.t)
SOBJS := daily.shtml main.shtml index.shtml status.shtml \
bugs.shtml requests.shtml
OBJS := $(SRC:%.t=%.html) $(SOBJS)
.SUFFIXES: .t .html
%.html : %.t
$(ACTION) $<
%.shtml : %.t
$(ACTION) $<
all: $(OBJS)
@(cd schematics; $(MAKE))
@(cd docs; $(MAKE))
@(cd mods; $(MAKE))
@(cd internals; $(MAKE))
@(cd irc; $(MAKE))
@(cd devcon; $(MAKE))
@(cd sh-win; $(MAKE))
@(cd download; $(MAKE))
@(cd manual; $(MAKE))
@(cd manual-1.2; $(MAKE))
@(cd fonts; $(MAKE))
@(cd lang; $(MAKE))
@(cd tshirt-contest; $(MAKE))
@(cd screenshots; $(MAKE))
main.html: main.t activity.html
main.shtml: main.t activity.html
index.shtml: main.shtml
ln -s main.shtml index.shtml
daily.shtml: daily.t
clean:
find . -name "*html" | xargs rm