# Makefile by Hiroshi Hakoyama .SUFFIXES : .xml .html PAPERS != cd publications; make -s; cd ..; ls publications/papers/*.html BOOKS != cd publications; make -s; cd ..; ls publications/books/*.html PROCEEDINGS != cd publications; make -s; cd ..; ls publications/proceedings_misc/*.html BLOGS != cd blog; make -s; cd ..; ls blog/*.html COURSES != cd course; make -s; cd ..; ls course/*.html | grep -v index | grep -v atom ABOUT != cd about; make -s CV != cd CV; make -s TALKS != cd talks; make -s JA != cd ja; make -s all: index.html atom.xml index.html: index.xml transl.sh index.xml: $(PAPERS) $(BOOKS) $(PROCEEDINGS) $(BLOGS) $(COURSES) sblg -o $@ -t ./template/main-template.xml $(PAPERS) $(BOOKS) $(PROCEEDINGS) $(BLOGS) $(COURSES) atom.xml: $(PAPERS) $(BOOKS) $(PROCEEDINGS) $(BLOGS) $(COURSES) sblg -o $@ -t ./template/atom-template.xml -a $(PAPERS) $(BOOKS) $(PROCEEDINGS) $(BLOGS) $(COURSES) clean: rm -f index.html rm -f index.xml rm -f atom.xml clean-depends: LIST=`ls -F ~/web/keywords/ | grep -v ja | grep -v /`;\ for f in $$LIST ; do rm -rf $$f ; done rm -f index.html rm -f index.xml rm -f atom.xml cd about; make -s clean cd CV; make -s clean cd publications; make -s clean cd talks; make -s clean cd course; make -s clean cd blog; make -s clean cd ja; make -s clean