-## $Id: Makefile.am,v 1.24 2006-10-11 09:39:43 adam Exp $
-docdir=$(datadir)/doc/@PACKAGE@
-
SUBDIRS = common
XMLFILES = \
TOP = $(srcdir)/yazpp.xml
-MANFILES = yazpp-config.8
+MANFILES = yazpp-config.1
REFFILES = yazpp-config-man.xml
rm -f *.html
$(HTML_COMPILE) $(TOP)
-index.tkl: $(XMLFILES) common/tkl.xsl
+index.tkl: $(XMLFILES)
$(TKL_COMPILE) $(TOP)
-yazpp-config.8: yazpp-config-man.xml
+yazpp-config.1: yazpp-config-man.xml
$(MAN_COMPILE) $(srcdir)/yazpp-config-man.xml
yazpp.pdf: $(XMLFILES)
if test ! -f common/id.png ; then cp $(srcdir)/common/id.png common/; fi
- jade -E14 -D $(srcdir) -d common/print.dsl -t tex $(srcdir)/common/xml.dcl $(TOP)
- pdfjadetex yazpp.tex >pdfjadetex.log 2>&1
- pdfjadetex yazpp.tex >pdfjadetex.log 2>&1
- pdfjadetex yazpp.tex >pdfjadetex.log 2>&1
-
+ $(PDF_COMPILE) $(TOP)
clean-data-hook:
rm -f [0-9]* *.bak
cp $$p $(distdir); \
done
+doc-clean:
+ rm -f *.html *.[0-9] *.pdf
+
install-data-hook:
if test -f index.html; then d=.; else d="$(srcdir)"; fi; \
for p in $$d/*.html; do \
- $(docDATA_INSTALL) $$p $(DESTDIR)/$(docdir); \
+ $(INSTALL_DATA) $$p $(DESTDIR)$(docdir); \
done
uninstall-hook:
- rm -r $(DESTDIR)/$(docdir)
+ rm -r $(DESTDIR)$(docdir)