# 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 ""
5cd73c9d805af727083dcc2be&follow=1'>diffstats
|
| Age | Commit message (Collapse) | Author | Files | Lines |
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1143 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1142 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
"timer_inc()" now checks how many trigger intervals have passed since
a given timer has been updated. This might be due to "negative clock
skew" (think of summer time) or the fact that some processing took too
long (i.e. fetching of a web site). These missed trigger intervals
are then skipped and the user is notified so that he may adapt his
timer settings. This handling is essential, otherwise unprocessed
timers might stack up and would trigger continuously while at the same
time becoming notoriously late and unreliable.
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1141 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1140 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1139 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1138 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1137 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1136 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1135 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
I'm not done yet, but my system is currently very unstable, and I
don't want the changes to get lost... :(
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1134 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1133 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|