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