# 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 "" m class='right' method='get' action='/debian/lcd4linux.git/log/COPYING'>
path: root/COPYING (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2004-06-05[lcd4linux @ 2004-06-05 14:56:48 by reinelt]reinelt3-24/+37
2004-06-05[lcd4linux @ 2004-06-05 06:41:39 by reinelt]reinelt11-42/+87
2004-06-05[lcd4linux @ 2004-06-05 06:13:11 by reinelt]reinelt9-69/+327
2004-06-02[lcd4linux @ 2004-06-02 10:09:22 by reinelt]reinelt4-180/+183
2004-06-02[lcd4linux @ 2004-06-02 09:41:19 by reinelt]reinelt18-114/+211
2004-06-02[lcd4linux @ 2004-06-02 05:56:25 by reinelt]reinelt1-2/+6
2004-06-02[lcd4linux @ 2004-06-02 05:35:55 by reinelt]reinelt1-0/+20
2004-06-02[lcd4linux @ 2004-06-02 05:27:59 by reinelt]reinelt26-0/+2405
2004-06-02[lcd4linux @ 2004-06-02 05:14:16 by reinelt]reinelt2-17/+31
2004-06-01[lcd4linux @ 2004-06-01 06:45:28 by reinelt]reinelt18-71/+241
2004-06-01[lcd4linux @ 2004-06-01 06:04:25 by reinelt]reinelt2-25/+25
2004-05-31[lcd4linux @ 2004-05-31 21:23:16 by reinelt]reinelt1-37/+49
2004-05-31[lcd4linux @ 2004-05-31 21:05:13 by reinelt]reinelt5-77/+111
2004-05-31[lcd4linux @ 2004-05-31 16:39:05 by reinelt]reinelt11-180/+535
2004-05-31[lcd4linux @ 2004-05-31 06:27:34 by reinelt]reinelt1-0/+40
2004-05-31[lcd4linux @ 2004-05-31 06:24:42 by reinelt]reinelt2-7/+29
2004-05-31[lcd4linux @ 2004-05-31 05:38:02 by reinelt]reinelt8-42/+94
2004-05-31[lcd4linux @ 2004-05-31 01:31:01 by andy-b]andy-b1-10/+12
2004-05-30[lcd4linux @ 2004-05-30 08:25:50 by reinelt]reinelt2-30/+92
2004-05-29[lcd4linux @ 2004-05-29 23:30:20 by reinelt]reinelt1-1/+9
2004-05-29[lcd4linux @ 2004-05-29 15:53:28 by reinelt]reinelt3-9/+25
2004-05-29[lcd4linux @ 2004-05-29 01:07:56 by reinelt]reinelt2-21/+25
2004-05-29[lcd4linux @ 2004-05-29 00:27:14 by reinelt]reinelt8-11/+214
2004-05-28[lcd4linux @ 2004-05-28 14:38:10 by reinelt]reinelt2-1/+41