Man pages in Reference section.
[yaz-moved-to-github.git] / doc / Makefile.am
index 6b54e5b..aa6fb8e 100644 (file)
@@ -1,13 +1,13 @@
-## $Id: Makefile.am,v 1.84 2007-11-12 11:13:05 adam Exp $
+## $Id: Makefile.am,v 1.85 2007-11-21 09:04:46 adam Exp $
 
 SUBDIRS = common
 
 XMLFILES=bookinfo.xml introduction.xml installation.xml \
  indexdata.xml \
  asn.xml tools.xml odr.xml comstack.xml frontend.xml license.xml \
- future.xml client.xml ziffy.xml zoom.xml credits.xml gfs-options.xml \
+ future.xml ziffy.xml zoom.xml credits.xml gfs-options.xml \
  yaz.xml yaz-client-commands.xml soap.xml gfs-virtual.xml gfs-synopsis.xml \
- std-oid-table.xml
+ std-oid-table.xml manref.xml
 
 HTMLFILES = index.html
 
@@ -84,6 +84,12 @@ yazj.pdf:
        pdfjadetex yazj.tex >/dev/null
        pdfjadetex yazj.tex >/dev/null
 
+manref.xml: $(REFFILES) $(srcdir)/common/stripref.xsl
+       rm -f manref.xml
+       for i in $(REFFILES); do \
+               xsltproc $(srcdir)/common/stripref.xsl $(srcdir)/$$i | sed 1d >>manref.xml; \
+       done
+
 apilayer.png: 
        tgif -print -xbm apilayer.obj
        xbmtopbm <apilayer.xbm|pnmtopng >apilayer.png