$OpenBSD: patch-states_hl_Makefile_in,v 1.2 2008/12/09 15:23:55 jasper Exp $ --- states/hl/Makefile.in.orig Thu Jan 24 08:39:40 2002 +++ states/hl/Makefile.in Tue Dec 9 16:23:25 2008 @@ -234,14 +234,14 @@ maintainer-clean-generic clean mostlyclean distclean m install-data-local: - $(top_srcdir)/mkinstalldirs $(datadir)/enscript - $(top_srcdir)/mkinstalldirs $(datadir)/enscript/hl + $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir)/enscript + $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir)/enscript/hl for f in $(states); do \ - $(INSTALL_DATA) $(srcdir)/$$f $(datadir)/enscript/hl/$$f; \ + $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(datadir)/enscript/hl/$$f; \ done uninstall-local: - rm -rf $(datadir)/enscript/hl + rm -rf $(DESTDIR)$(datadir)/enscript/hl # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded.