-CLEANFILES = enscript.cfg
-
-all-local: enscript.cfg
-
-install-data-local: enscript.cfg
- $(top_srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir)
- if test -r $(DESTDIR)$(sysconfdir)/enscript.cfg; then \
- cp $(DESTDIR)$(sysconfdir)/enscript.cfg \
- $(DESTDIR)$(sysconfdir)/enscript.cfg.old; \
- else :; \
- fi
- $(INSTALL_DATA) enscript.cfg $(DESTDIR)$(sysconfdir)/enscript.cfg
+do_subst = sed -e 's%@DATADIR@%$(datadir)%g' \
+ -e 's%@media@%@MEDIA@%g' \
+ -e 's%@BINDIR@%$(bindir)%g' \
+ -e 's%@spooler@%@SPOOLER@%g' \
+ -e 's%@pslevel@%@PSLEVEL@%g'