X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=doc%2FMakefile;fp=doc%2FMakefile;h=0000000000000000000000000000000000000000;hb=a481de8dab190f141d68e99d22d42ebee44bcddb;hp=8bfac8cf16a4b5afffca8af66c3041f63d8882ec;hpb=1b8dcad8b9da618cb6c0e22a762cafb08e262640;p=grml-scripts-core.git diff --git a/doc/Makefile b/doc/Makefile deleted file mode 100644 index 8bfac8c..0000000 --- a/doc/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -%.html : %.txt ; - asciidoc -b xhtml11 $^ - -%.gz : %.txt ; - #a2x -f manpage $^ 2>&1 |grep -v '^Note: ' >&2 - #gzip -f --best $(patsubst %.txt,%, $^) - asciidoc -d manpage -b docbook $^ - xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl $(patsubst %.txt,%.xml, $^) - # try to get rid of ".sp" sequences, see http://bts.grml.org/grml/issue567 - sed -i 's/\.sp//' $(patsubst %.txt,%, $^) - gzip -f --best $(patsubst %.txt,%, $^) - -MANPAGES = $(patsubst %.txt,%,$(wildcard *.txt)) - -all: doc - -doc: doc_man doc_html -doc_html: $(addsuffix .html, $(MANPAGES)) -doc_man: $(addsuffix .gz, $(MANPAGES)) - -clean: - @for i in $(MANPAGES); do \ - rm -f $$i.html $$i.xml $$i.gz; done -