diff options
author | reinelt <> | 2005-05-06 05:40:03 +0000 |
---|---|---|
committer | reinelt <> | 2005-05-06 05:40:03 +0000 |
commit | 35f5c1546dc5d4b69bb614416e6dc5dfe8706a68 (patch) | |
tree | 09e7ec72be40409cc74165cf55a9aaf958d63e6a /documentation/lcd4linux/Makefile | |
parent | 2b068848691202d26100cdf75c62c460313983ec (diff) | |
download | lcd4linux-35f5c1546dc5d4b69bb614416e6dc5dfe8706a68.tar.gz |
[lcd4linux @ 2005-05-06 05:40:02 by reinelt]
remove documentation pass#2
Diffstat (limited to 'documentation/lcd4linux/Makefile')
-rw-r--r-- | documentation/lcd4linux/Makefile | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/documentation/lcd4linux/Makefile b/documentation/lcd4linux/Makefile deleted file mode 100644 index 2519f22..0000000 --- a/documentation/lcd4linux/Makefile +++ /dev/null @@ -1,59 +0,0 @@ -# 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 "" |