From 2e3c73e0883a2bdfa525fc6fe4e10d30971d9651 Mon Sep 17 00:00:00 2001 From: reinelt <> Date: Wed, 2 Jun 2004 05:28:06 +0000 Subject: [lcd4linux @ 2004-06-02 05:27:59 by reinelt] added documentation tree --- documentation/plugins/Makefile | 59 +++++++++++++++++++++++++++++++++++++++++ documentation/plugins/index.xml | 14 ++++++++++ 2 files changed, 73 insertions(+) create mode 100644 documentation/plugins/Makefile create mode 100644 documentation/plugins/index.xml (limited to 'documentation/plugins') diff --git a/documentation/plugins/Makefile b/documentation/plugins/Makefile new file mode 100644 index 0000000..2519f22 --- /dev/null +++ b/documentation/plugins/Makefile @@ -0,0 +1,59 @@ +# 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 "" diff --git a/documentation/plugins/index.xml b/documentation/plugins/index.xml new file mode 100644 index 0000000..8e803ae --- /dev/null +++ b/documentation/plugins/index.xml @@ -0,0 +1,14 @@ + + + + + + &L4L; plugins + plugins_index + + + +

Plugins

+ + +
-- cgit v1.2.3