Ship man pages in the GIT and tarball, not just xml files.
[lxde/lxpanel.git] / man / Makefile.am
index 96fa3ba..413166a 100644 (file)
@@ -2,32 +2,4 @@ man_MANS = \
        lxpanel.1 \
        lxpanelctl.1
 
-man_XMANS = \
-       lxpanel.xml \
-       lxpanelctl.xml
-
-EXTRA_DIST = \
-       $(man_MANS) \
-       $(man_XMANS)
-
-
-if ENABLE_REGENERATE_MAN
-
-lxpanel.1: lxpanel.xml
-       $(XSLTPROC) -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
-
-lxpanelctl.1: lxpanelctl.xml
-       $(XSLTPROC) -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<        
-
-CLEANFILES = $(man_MANS) 
-else
-
-$(man_MANS):
-       @echo ""
-       @echo "Error: you need to run configure with '--enable-man'"
-       @echo "       in order to regenerate man pages."
-       @echo ""
-       @false
-endif
-
-
+EXTRA_DIST = $(man_MANS)