Annotation of www/Makefile, Revision 1.5
1.1 hako 1: # Makefile by Hiroshi Hakoyama
2: .SUFFIXES : .xml .html
3:
4: PAPERS != cd publications; make -s; cd ..; ls publications/papers/*.html
1.4 hako 5: #BOOKS != cd publications; make -s; cd ..; ls publications/books/*.html
1.1 hako 6: PROCEEDINGS != cd publications; make -s; cd ..; ls publications/proceedings_misc/*.html
1.2 hako 7: BLOGS != cd blog; make -s; cd ..; ls blog/*.html | grep -v index
8: COURSES != cd course; make -s; cd ..; ls course/*.html | grep -v index
1.1 hako 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
1.5 ! hako 43:
! 44: copyright:
! 45: copyright.sh ./template/main-template.xml
! 46: copyright.sh ./about/article-template.xml
! 47: copyright.sh ./blog/template/article-template.xml
! 48: copyright.sh ./blog/template/blog-template.xml
! 49: copyright.sh ./CV/article-template.xml
! 50: copyright.sh ./course/template/course-template.xml
! 51: copyright.sh ./publications/template/article-template.xml
! 52: copyright.sh ./publications/template/publications-template.xml
! 53: copyright.sh ./talks/template/talks-template.xml
! 54: copyright.sh ./ja/about/article-template.xml
! 55: copyright.sh ./ja/CV/article-template.xml
! 56: copyright.sh ./ja/course/template/course-template.xml
! 57: copyright.sh ./ja/publications/template/publications-template.xml
! 58: copyright.sh ./ja/talks/template/talks-template.xml