Annotation of www/Makefile, Revision 1.1.1.1
1.1 hako 1: # Makefile by Hiroshi Hakoyama
2: .SUFFIXES : .xml .html
3:
4: PAPERS != cd publications; make -s; cd ..; ls publications/papers/*.html
5: BOOKS != cd publications; make -s; cd ..; ls publications/books/*.html
6: PROCEEDINGS != cd publications; make -s; cd ..; ls publications/proceedings_misc/*.html
7: BLOGS != cd blog; make -s; cd ..; ls blog/*.html
8: COURSES != cd course; make -s; cd ..; ls course/*.html | grep -v index | grep -v atom
9: ABOUT != cd about; make -s
10: CV != cd CV; make -s
11: TALKS != cd talks; make -s
12: JA != cd ja; make -s
13:
14: all: index.html atom.xml
15:
16: index.html: index.xml
17: transl.sh
18:
19: index.xml: $(PAPERS) $(BOOKS) $(PROCEEDINGS) $(BLOGS) $(COURSES)
20: sblg -o $@ -t ./template/main-template.xml $(PAPERS) $(BOOKS) $(PROCEEDINGS) $(BLOGS) $(COURSES)
21:
22: atom.xml: $(PAPERS) $(BOOKS) $(PROCEEDINGS) $(BLOGS) $(COURSES)
23: sblg -o $@ -t ./template/atom-template.xml -a $(PAPERS) $(BOOKS) $(PROCEEDINGS) $(BLOGS) $(COURSES)
24:
25: clean:
26: rm -f index.html
27: rm -f index.xml
28: rm -f atom.xml
29:
30: clean-depends:
31: LIST=`ls -F ~/web/keywords/ | grep -v ja | grep -v /`;\
32: for f in $$LIST ; do rm -rf $$f ; done
33: rm -f index.html
34: rm -f index.xml
35: rm -f atom.xml
36: cd about; make -s clean
37: cd CV; make -s clean
38: cd publications; make -s clean
39: cd talks; make -s clean
40: cd course; make -s clean
41: cd blog; make -s clean
42: cd ja; make -s clean