-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (30 loc) · 837 Bytes
/
Makefile
File metadata and controls
39 lines (30 loc) · 837 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
OUTPUTFILES = \
build/index.html \
build/news.html \
build/screenshots.html \
build/development.html \
build/download.html \
build/contact.html \
build/artworks.html
all : $(OUTPUTFILES)
clean :
rm -vf $(OUTPUTFILES)
build/:
mkdir build/
build/%.html :: %.xml default.xsl Makefile menu.xml build/
@FILENAME=$<; \
LASTCHANGE=`date -I`; \
echo $${FILENAME%%.xml}; \
xsltproc \
-stringparam filename "'$${FILENAME%%.xml}'" \
-stringparam lastchange "'$${LASTCHANGE}'" \
-o $@ \
default.xsl $<
upload: berlios
commit: berlios
berlios: all
# svn update && \
# svn commit -m "--- some unknown new stuff (automatically inserted by the upload script) ---" && \
rsync -LCrtv build/ grumbel@shell.berlios.de:/home/groups/windstille/htdocs/
.PHONY: all clean upload
# EOF #