1 SUBDIRS = src 2 dist_doc_DATA = README.md 3 4 dist_man1_MANS = man/detox.1 man/inline-detox.1 5 dist_man5_MANS = man/detox.tbl.5 man/detoxrc.5 6 7 dist_sysconf_DATA = etc/detoxrc.sample 8 9 dist_pkgdata_DATA = table/iso8859_1.tbl.sample table/safe.tbl.sample table/unicode.tbl.sample 10 11 install-data-hook: 12 test -f $(DESTDIR)$(sysconfdir)/detoxrc || $(INSTALL_DATA) $(DESTDIR)$(sysconfdir)/detoxrc.sample $(DESTDIR)$(sysconfdir)/detoxrc 13 test -f $(DESTDIR)$(pkgdatadir)/iso8859_1.tbl || $(INSTALL_DATA) $(DESTDIR)$(pkgdatadir)/iso8859_1.tbl.sample $(DESTDIR)$(pkgdatadir)/iso8859_1.tbl 14 test -f $(DESTDIR)$(pkgdatadir)/safe.tbl || $(INSTALL_DATA) $(DESTDIR)$(pkgdatadir)/safe.tbl.sample $(DESTDIR)$(pkgdatadir)/safe.tbl 15 test -f $(DESTDIR)$(pkgdatadir)/unicode.tbl || $(INSTALL_DATA) $(DESTDIR)$(pkgdatadir)/unicode.tbl.sample $(DESTDIR)$(pkgdatadir)/unicode.tbl 16 17 .PHONY: force-install 18 force-install: install 19 $(INSTALL_DATA) $(DESTDIR)$(sysconfdir)/detoxrc.sample $(DESTDIR)$(sysconfdir)/detoxrc 20 $(INSTALL_DATA) $(DESTDIR)$(pkgdatadir)/iso8859_1.tbl.sample $(DESTDIR)$(pkgdatadir)/iso8859_1.tbl 21 $(INSTALL_DATA) $(DESTDIR)$(pkgdatadir)/safe.tbl.sample $(DESTDIR)$(pkgdatadir)/safe.tbl 22 $(INSTALL_DATA) $(DESTDIR)$(pkgdatadir)/unicode.tbl.sample $(DESTDIR)$(pkgdatadir)/unicode.tbl 23 24 uninstall-hook: 25 rm $(DESTDIR)$(sysconfdir)/detoxrc 26 rm $(DESTDIR)$(pkgdatadir)/iso8859_1.tbl 27 rm $(DESTDIR)$(pkgdatadir)/safe.tbl 28 rm $(DESTDIR)$(pkgdatadir)/unicode.tbl