# Path DIR = $(notdir $(PWD)) OUTPUT = ../HTML ifeq "$(DIR)" "lcd4linux" DIR = endif ifeq "$(DIR)" "" XSLTPROC = xsltproc else XSLTPROC = xsltproc --stringparam class $(DIR) --stringparam root "../" endif XMLVALID = xmllint --noout --valid NAMES=$(shell find . -name "*.xml" -exec basename {} .xml \;) html: $(patsubst %.xml,%.html,$(wildcard *.xml)) html-forced: $(patsubst %.xml,%.html-forced,$(wildcard *.xml)) %.html: %.xml %.xml-check output $(XSLTPROC) $< > $(OUTPUT)/$(DIR)/$@ %.html-forced: %.xml output $(XSLTPROC) $< > $(OUTPUT)/$(DIR)/$(patsubst %.xml,%.html,$<) check: $(patsubst %.xml, %.xml-check, $(wildcard *.xml)) %.xml-check: %.xml @echo "*** Validation of $<" $(XMLVALID) $< output: test -d $(OUTPUT) || `mkdir $(OUTPUT); cp ../data/doc.css $(OUTPUT); cp -R ../data/images $(OUTPUT)` test -d $(OUTPUT)/$(DIR) || mkdir $(OUTPUT)/$(DIR) clean: rm -f $(OUTPUT)/$(DIR)/*.html clean-bak: rm -f *~ *.bak help: @echo -e "" @echo -e "Usage :" @echo -e "-------" @echo -e "make or make html : builds all possible html pages from xml files" @echo -e "make %.html : builds the %.html page from %.xml" @echo -e "" @echo -e "make html-forced : builds all possible html pages from xml files (no validity check)" @echo -e "make %.html-forced : builds the %.html page from %.xml (no validity check)" @echo -e "" @echo -e "make check : checks the validity of all possible xml files" @echo -e "make %.xml-check : checks the validity of %.xml" @echo -e "" @echo -e "make clean : deletes all generated html pages" @echo -e "make clean-bak : deletes *~ and *.bak files" @echo -e "" td class='form'>
path: root/XWindow.c (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2004-01-11[lcd4linux @ 2004-01-11 09:26:15 by reinelt]reinelt4-19/+67
2004-01-10[lcd4linux @ 2004-01-10 20:22:33 by reinelt]reinelt13-210/+554
2004-01-10[lcd4linux @ 2004-01-10 17:45:26 by reinelt]reinelt2-5/+15
2004-01-10[lcd4linux @ 2004-01-10 17:36:56 by reinelt]reinelt4-10/+207
2004-01-10[lcd4linux @ 2004-01-10 17:34:40 by reinelt]reinelt3-176/+138
2004-01-10[lcd4linux @ 2004-01-10 10:20:22 by reinelt]reinelt2-14/+605
2004-01-09[lcd4linux @ 2004-01-09 17:03:06 by reinelt]reinelt10-51/+420
2004-01-09[lcd4linux @ 2004-01-09 04:16:06 by reinelt]reinelt28-193/+332
2004-01-08[lcd4linux @ 2004-01-08 06:00:28 by reinelt]reinelt1-8/+14
2004-01-08[lcd4linux @ 2004-01-08 05:28:12 by reinelt]reinelt3-42/+198
2004-01-07[lcd4linux @ 2004-01-07 10:15:41 by reinelt]reinelt4-184/+436
2004-01-06[lcd4linux @ 2004-01-06 23:01:37 by reinelt]reinelt3-4/+7
2004-01-06[lcd4linux @ 2004-01-06 22:33:13 by reinelt]reinelt14-472/+542
2004-01-06[lcd4linux @ 2004-01-06 21:14:51 by reinelt]reinelt4-14/+7
2004-01-06[lcd4linux @ 2004-01-06 18:22:41 by reinelt]reinelt1-3/+13
2004-01-06[lcd4linux @ 2004-01-06 17:56:43 by reinelt]reinelt3-1000/+2045
2004-01-06[lcd4linux @ 2004-01-06 17:37:00 by reinelt]reinelt1-0/+20
2004-01-06[lcd4linux @ 2004-01-06 17:33:45 by reinelt]reinelt6-28/+298
2004-01-06[lcd4linux @ 2004-01-06 15:19:12 by reinelt]reinelt2-104/+136
2004-01-05[lcd4linux @ 2004-01-05 11:57:38 by reinelt]reinelt7-8/+168
2004-01-02[lcd4linux @ 2004-01-02 14:20:15 by reinelt]reinelt10-0/+201
2004-01-02[lcd4linux @ 2004-01-02 14:18:54 by reinelt]reinelt2-0/+101
2003-12-19[lcd4linux @ 2003-12-19 06:27:33 by reinelt]reinelt4-8/+119