diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-02-15 20:23:25 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-02-15 20:26:49 +0100 |
commit | 96b0cb1181afba513e547a9233b7acd4ff622a94 (patch) | |
tree | ba78629339146990ac24fc0ff22fa122a764c12a | |
parent | 81e0d95604bbdd884aa003de155d5a40debd071d (diff) |
man: systemd.special no longer needs sed logic
-rw-r--r-- | Makefile.am | 44 | ||||
-rw-r--r-- | man/.gitignore | 2 | ||||
-rw-r--r-- | man/systemd.special.xml (renamed from man/systemd.special.xml.in) | 0 |
3 files changed, 2 insertions, 44 deletions
diff --git a/Makefile.am b/Makefile.am index bad55aacf0..ab5000b63f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -710,20 +710,11 @@ nodist_man_MANS = \ XML_FILES = \ ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}} -XML_IN_FILES = \ - ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}} - dist_noinst_DATA = \ ${XML_FILES:.xml=.html} -nodist_noinst_DATA = \ - ${XML_IN_FILES:.xml.in=.html} - EXTRA_DIST += \ - $(XML_FILES) \ - $(XML_IN_FILES) \ - ${nodist_man_MANS:=.in} \ - ${XML_IN_FILES:.xml.in=.html.in} + $(XML_FILES) endif systemd_SOURCES = \ @@ -2186,7 +2177,6 @@ CLEANFILES += \ $(nodist_systemunit_DATA) \ $(nodist_userunit_DATA) \ $(nodist_man_MANS) \ - ${XML_IN_FILES:.xml.in=.html} \ $(pkgconfigdata_DATA) \ $(pkgconfiglib_DATA) \ $(nodist_polkitpolicy_DATA) \ @@ -2209,61 +2199,31 @@ XSLTPROC_PROCESS_MAN = \ $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< -XSLTPROC_PROCESS_MAN_IN = \ - $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ - $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \ - mv ${@:.in=} $@ - XSLTPROC_PROCESS_HTML = \ $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(srcdir)/man/custom-html.xsl $< -XSLTPROC_PROCESS_HTML_IN = \ - $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ - $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) $(srcdir)/man/custom-html.xsl $< && \ - mv ${@:.in=} $@ - man/%.1: man/%.xml $(XSLTPROC_PROCESS_MAN) -man/%.1.in: man/%.xml.in - $(XSLTPROC_PROCESS_MAN) - man/%.3: man/%.xml $(XSLTPROC_PROCESS_MAN) -man/%.3.in: man/%.xml.in - $(XSLTPROC_PROCESS_MAN) - man/%.5: man/%.xml $(XSLTPROC_PROCESS_MAN) -man/%.5.in: man/%.xml.in - $(XSLTPROC_PROCESS_MAN) - man/%.7: man/%.xml $(XSLTPROC_PROCESS_MAN) -man/%.7.in: man/%.xml.in - $(XSLTPROC_PROCESS_MAN_IN) - man/%.8: man/%.xml $(XSLTPROC_PROCESS_MAN) -man/%.8.in: man/%.xml.in - $(XSLTPROC_PROCESS_MAN_IN) - man/%.html: man/%.xml $(XSLTPROC_PROCESS_HTML) -man/%.html.in: man/%.xml.in - $(XSLTPROC_PROCESS_HTML_IN) - CLEANFILES += \ $(dist_man_MANS) \ - ${nodist_man_MANS:=.in} \ - ${XML_FILES:.xml=.html} \ - ${XML_IN_FILES:.xml.in=.html.in} + ${XML_FILES:.xml=.html} endif DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h diff --git a/man/.gitignore b/man/.gitignore deleted file mode 100644 index b127cf1361..0000000000 --- a/man/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -systemd.special.7.in -systemd.special.html.in diff --git a/man/systemd.special.xml.in b/man/systemd.special.xml index 116a43ccfb..116a43ccfb 100644 --- a/man/systemd.special.xml.in +++ b/man/systemd.special.xml |