X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=data%2Fman%2FMakefile;h=ca85943204054a504d95a42c8cb43c8e1465837d;hb=d65f7a21478d3edde074d83e4b07a3650486c4b9;hp=0e6b1f3d134c82153c91036eddb6f240416fd13a;hpb=e49af6fd502e9b4e43c1d2f1b93cb01a2e381e4d;p=mpd-sima.git diff --git a/data/man/Makefile b/data/man/Makefile index 0e6b1f3..ca85943 100644 --- a/data/man/Makefile +++ b/data/man/Makefile @@ -16,9 +16,6 @@ OPTIONS=--nonet\ all: man -simadb_cli: simadb_cli.1.xml - $(XP) $(OPTIONS) $(XSL) $< - mpd_sima: mpd_sima.1.xml xmllint --xinclude --nowarning --noent $< | $(XP) $(OPTIONS) $(XSL) - @@ -28,20 +25,16 @@ mpd_sima.cfg: mpd_sima.cfg.5.xml mpd_sima_html: xmllint --xinclude --nowarning --noent mpd_sima.1.xml | $(XP) $(HXSL) - > ./mpd_sima.1.html -simadb_cli_html: - $(XP) $(HXSL) simadb_cli.1.xml > ./simadb_cli.1.html - mpd_sima.cfg_html: - $(XP) $(HXSL) mpd_sima.cfg.5.xml > ./mpd_sima.cfg.5.html + xmllint --xinclude --nowarning --noent mpd_sima.cfg.5.xml | $(XP) $(HXSL) - > ./mpd_sima.cfg.5.html -man: simadb_cli mpd_sima mpd_sima.cfg +man: mpd_sima mpd_sima.cfg html: simadb_cli_html mpd_sima_html mpd_sima.cfg_html -pdf: simadb_cli.1 mpd-sima.1 mpd-sima.cfg.5 +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 - /usr/bin/man -l -Tps simadb_cli.1 | /usr/bin/ps2pdf - ./simadb_cli.pdf valid: xmllint --noout --valid ./*.xml @@ -49,4 +42,8 @@ valid: clean_mpd_sima: rm -rf mpd-sima.1 mpd_sima.1.html -clean: clean_mpd_sima +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