Make second fix for symlink when srcdir=dstdir
[metaproxy-moved-to-github.git] / doc / Makefile.am
index 94b56a9..168ecbb 100644 (file)
@@ -1,4 +1,4 @@
-## $Id: Makefile.am,v 1.15 2006-04-27 16:54:39 adam Exp $
+## $Id: Makefile.am,v 1.20 2006-05-26 20:47:28 adam Exp $
 docdir=$(datadir)/doc/@PACKAGE@
 
 SUBDIRS = common
@@ -26,13 +26,13 @@ HTMLFILES = architecture.html \
        filterref.html \
        filters.html \
        future.directions.html \
+       index.html \
        individual.classes.html \
        installation.html \
        installation.debian.html \
        installation.windows.html \
        introduction.html \
        licence.html \
-       metaproxy.html \
        multidb.html \
        multidb.multi.html \
        multidb.picture.html \
@@ -51,17 +51,17 @@ man_MANS = $(MANFILES)
 EXTRA_DIST = $(XMLFILES) $(XMLMAN) $(doc_DATA) $(man_MANS) multi.svg
 
 $(HTMLFILES): $(XMLFILES) multi.png
-       jade -E14 -D $(srcdir) -d common/html.dsl -t sgml $(srcdir)/common/xml.dcl $(MAINXML)
+       xsltproc common/html.xsl $(MAINXML)
 
 .xml.3mp:
-       docbook2man $<
+       xsltproc common/man.xsl $<
 
 .xml.1:
-       docbook2man $<
+       xsltproc common/man.xsl $<
 
 metaproxy.pdf: $(XMLFILES) multi.pdf
-       for i in $(PNGFILES) multi.pdf; do \
-               if test ! -f $$i; then ln -s $(srcdir)/$$i .; fi; \
+       for i in $(PNGFILES) common/id.png multi.pdf; do \
+               if test ! -f $$i; then ln -s $(srcdir)/$$i $$i; fi; \
        done
        jade -E14 -D $(srcdir) -d common/print.dsl -t tex $(srcdir)/common/xml.dcl $(MAINXML)
        rm -f metaproxy.tex
@@ -76,7 +76,7 @@ index.tkl: $(XMLFILES) common/tkl.xsl
 manref.xml: $(XMLMAN) $(srcdir)/common/ref2dbinc.xsl
        rm -f manref.xml
        for i in $(XMLMAN); do \
-               xsltproc $(srcdir)/common/ref2dbinc.xsl $$i | sed 1d >> manref.xml; \
+               xsltproc $(srcdir)/common/ref2dbinc.xsl $(srcdir)/$$i | sed 1d >> manref.xml; \
        done
 
 progref.xml: metaproxy.xml