docs: add a prebuilt manpage to the distribution
[deb_libnfs.git] / doc / Makefile.am
index 2e9625c5c9d498955e982aa6f90d7b953f5a143d..8b9753ce23a5ec1389bd0b0cc1445997c2c0ec88 100644 (file)
@@ -1,8 +1,9 @@
 XSLTPROC = /usr/bin/xsltproc
 
+EXTRA_DIST = nfs-ls.1 nfs-ls.1.xml
+
 # Manpages
 man1_MANS = nfs-ls.1
-CLEANFILES = $(man1_MANS)
 
-nfs-ls.1: nfs-ls.1.xml
-       -test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+doc:
+       -test -z "$(XSLTPROC)" || $(XSLTPROC) -o nfs-ls.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl nfs-ls.1.xml