6 remote-device-add.7.txt \
7 remote-device-name.7.txt \
8 remote-device-remove.7.txt
14 remote-device-name.7 \
15 remote-device-remove.7
18 remote-device-add.7.html \
19 remote-device-name.7.html \
20 remote-device-remove.7.html \
32 CLEANFILES = *.xml remote-*.7.txt
33 DISTCLEANFILES = *.1 *.7 *.html
35 ASCIIDOC_FLAGS = -f $(srcdir)/asciidoc.conf -a version=$(PACKAGE_VERSION) -a source=$(PACKAGE)
37 SUFFIXES: .txt .xml .html
46 test -z "$(DOCDIR)" || $(mkinstalldirs) -d $(DOCDIR)
47 test -z "$(DOCDIR)" || $(INSTALL_DATA) $(html_DOCS) $(DOCDIR)
49 .PHONY: code html remote-doc
51 $(txt7_DOCS): $(srcdir)/Makefile.am
52 sed -n '2,/######/p' < $(top_srcdir)/contrib/lib/udev/$$(echo $@ | sed 's/.7.txt//') | \
54 sed '/^COPYRIGHT/,/^--------/s/^--------.*/&\n[verse]/' > $@
57 sed 's/\(remote-[^(]*\)(\([^)]*\))/*\1(\2)*/g' < $< | \
58 $(ASCIIDOC) $(ASCIIDOC_FLAGS) -b docbook -d manpage -o $@ -
61 sed 's/\(remote-[^(]*\)(\([^)]*\))/*link:\1.\2.html[\1(\2)]*/g' < $< | \
62 $(ASCIIDOC) $(ASCIIDOC_FLAGS) -b xhtml11 -d manpage -o $@ -
67 include $(top_srcdir)/Makefile.lib