X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=data%2Fman%2FMakefile;fp=data%2Fman%2FMakefile;h=0000000000000000000000000000000000000000;hb=dd2a18ade8d2cdbd3111c4eb01cf95f4a631f8a7;hp=ca85943204054a504d95a42c8cb43c8e1465837d;hpb=6288b079e5de8e9ee5482e8009111b6ba3cba93a;p=mpd-sima.git diff --git a/data/man/Makefile b/data/man/Makefile deleted file mode 100644 index ca85943..0000000 --- a/data/man/Makefile +++ /dev/null @@ -1,49 +0,0 @@ -# Packages needed on debian: -# * xsltproc -# * docbook-xsl-ns (which depends on docbook-xsl-doc-html and docbook5-xml) -# * libxml2-utils -# - -XSL=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns/manpages/docbook.xsl -HXSL=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns/html/docbook.xsl -CONV5XSL="/usr/share/xml/docbook/stylesheet/docbook5/db4-upgrade.xsl" -XP=/usr/bin/xsltproc -OPTIONS=--nonet\ - --param make.year.ranges 1\ - --param make.single.year.ranges 1 \ - --param man.charmap.use.subset 0 \ - --novalid \ - -all: man - -mpd_sima: mpd_sima.1.xml - xmllint --xinclude --nowarning --noent $< | $(XP) $(OPTIONS) $(XSL) - - -mpd_sima.cfg: mpd_sima.cfg.5.xml - xmllint --xinclude --nowarning --noent $< | $(XP) $(OPTIONS) $(XSL) - - -mpd_sima_html: - xmllint --xinclude --nowarning --noent mpd_sima.1.xml | $(XP) $(HXSL) - > ./mpd_sima.1.html - -mpd_sima.cfg_html: - xmllint --xinclude --nowarning --noent mpd_sima.cfg.5.xml | $(XP) $(HXSL) - > ./mpd_sima.cfg.5.html - -man: mpd_sima mpd_sima.cfg - -html: simadb_cli_html mpd_sima_html mpd_sima.cfg_html - -pdf: mpd-sima.1 mpd-sima.cfg.5 - /usr/bin/man -l -Tps mpd-sima.1 | /usr/bin/ps2pdf - ./mpd_sima.pdf - /usr/bin/man -l -Tps mpd-sima.cfg.5 | /usr/bin/ps2pdf - ./mpd_sima.cfg.pdf - -valid: - xmllint --noout --valid ./*.xml - -clean_mpd_sima: - rm -rf mpd-sima.1 mpd_sima.1.html - -clean_mpd_sima.cfg: - rm -rf mpd_sima.cfg.5 mpd_sima.cfg.5.html - -clean: clean_mpd_sima clean_simadb_cli clean_mpd_sima.cfg - rm -rf ./*.pdf