From: David Schleef Date: Sat, 16 Aug 2003 22:18:05 +0000 (+0000) Subject: rerefactor Makefile.am X-Git-Tag: r0_7_21~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=73d57773000d2b1733fd460f1c72c5a4a49656a2;p=comedilib.git rerefactor Makefile.am --- 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