From 73d57773000d2b1733fd460f1c72c5a4a49656a2 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sat, 16 Aug 2003 22:18:05 +0000 Subject: [PATCH] rerefactor Makefile.am --- doc/Makefile.am | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index 368074f..2eeeb79 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -10,35 +10,21 @@ BUILT_SOURCES = funcref.sgml drivers.sgml EXTRA_DIST=$(SGML) comedilib.sgml funcref mkref drivers.txt mkdr if HAVE_DOCBOOK2PDF -all_pdf = comedilib.pdf -install_pdf = install_pdf +pkgdata_DATA = comedilib.pdf else -all_pdf = -install_pdf = +pkgdata_DATA = endif -all-local: $(all_pdf) - -install-data-local: $(install_pdf) - -install_pdf: - $(INSTALL) -d $(pkgdatadir) - $(INSTALL_DATA) comedilib.pdf $(pkgdatadir) - -uninstall-local: - rm -f $(pkgdatadir)/comedilib.pdf - -clean-local: - rm -f comedilib.pdf drivers.sgml funcref.sgml +CLEANFILES = comedilib.pdf comedilib.pdf: $(srcdir)/comedilib.sgml $(SGML) - $(DOCBOOK2PDF) -f docbook -b pdf $(srcdir)/comedilib.sgml + $(DOCBOOK2PDF) $(srcdir)/comedilib.sgml funcref.sgml: funcref mkref - ./mkref funcref >funcref.sgml + $(srcdir)/mkref funcref >funcref.sgml drivers.sgml: drivers.txt mkdr - ./mkdr drivers.txt >drivers.sgml + $(srcdir)/mkdr drivers.txt >drivers.sgml locales = de -- 2.26.2