]> err.no Git - systemd/commitdiff
man: generate html pages for www.kernel.org
authorKay Sievers <kay.sievers@vrfy.org>
Sun, 26 Dec 2010 15:01:13 +0000 (16:01 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Sun, 26 Dec 2010 15:01:13 +0000 (16:01 +0100)
  http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev/

Makefile.am

index 0ee691c75347815899ca62d664323a1fb49574df..2e3fe3942587a74072575c3d54a9ad69168ee000 100644 (file)
@@ -174,14 +174,22 @@ dist_man_MANS = \
        udev/udevadm.8 \
        udev/udevd.8
 
+dist_noinst_DATA = \
+       udev/udev.html \
+       udev/udevadm.html \
+       udev/udevd.html
+
 EXTRA_DIST += \
        udev/udev.xml \
        udev/udevadm.xml \
        udev/udevd.xml
 
-%.7 %.8 : %.xml
+udev/%.7 udev/%.8 : udev/%.xml
        $(AM_V_GEN)$(XSLTPROC) -o $@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
 
+udev/%.html : udev/%.xml
+       $(AM_V_GEN)$(XSLTPROC) -o $@ -nonet http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
+
 # ------------------------------------------------------------------------------
 # udev tests
 # ------------------------------------------------------------------------------
@@ -685,5 +693,6 @@ git-release:
        git prune
 
 doc-sync:
+       rsync -av udev/*.html master.kernel.org:/pub/linux/utils/kernel/hotplug/udev/
        rsync -av --delete libudev/docs/html/ master.kernel.org:/pub/linux/utils/kernel/hotplug/libudev/
        rsync -av --delete extras/gudev/docs/html/ master.kernel.org:/pub/linux/utils/kernel/hotplug/gudev/