# 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 "" =debian/1.2.2-1&id=9ec0b996c30d0830888747527c5378bcb4bc8d2b&follow=1'>diffstats
path: root/debian/docs (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2012-04-08Remove dh_make boilerplateJonathan McCrohan1-5/+0
2012-04-08Refresh patch to reflect new upstream MakefileJonathan McCrohan2-53/+19
2012-04-07Rebase package to latest upstream commit (5a88b86)Jonathan McCrohan1-2/+2
2012-04-03nyancat.1: update myanpageJonathan McCrohan1-19/+51
2012-04-01:set spell ... I'm a bloody moron.Kevin Lange1-7/+7
2012-04-01Long options, help text for previousKevin Lange1-0/+4
2012-04-01Add options to not clear display and not set titleKevin Lange1-12/+49
2012-03-26Remove debug output that I completely forgot aboutKevin Lange1-2/+0
2012-03-25Added extra display optionsKevin Lange2-38/+124
2012-03-23(style)Kevin Lange1-3/+9
2012-03-23Add install targetKevin Lange1-1/+4
2012-03-23Command line options with getopt_longKevin Lange1-148/+196
2012-03-22Change package version systemJonathan McCrohan1-1/+1
2012-03-19include ctype.h for tolower()Tay Ray Chuan1-0/+1
2012-03-19provide struct winsize and TIOCGWINSZ on SolarisTay Ray Chuan1-0/+7
2012-03-18Remove more dh_make autogenerated filesJonathan McCrohan4-22/+0
2012-03-08Update myanpageJonathan McCrohan1-19/+4