401e992892
o remove ignored CONFIGURE_ARGS+=--sysconfdir=/lib o add post-install step that calls the INSTALL script o add install script to copy the sample config file to /etc only if there is no existing config in /etc o add deinstall script to remind the user to remove /etc/enscript.conf o add patch to install config as /lib/enscript.cfg-sample even though the config dir is /etc o test installation and de-installation from source o test installation from package
18 lines
568 B
Plaintext
18 lines
568 B
Plaintext
--- lib/Makefile.in.orig Wed Jul 1 02:28:28 1998
|
|
+++ lib/Makefile.in Sat Apr 3 00:43:56 1999
|
|
@@ -240,12 +240,8 @@
|
|
all-local: enscript.cfg
|
|
|
|
install-data-local: enscript.cfg
|
|
- $(top_srcdir)/mkinstalldirs $(sysconfdir)
|
|
- if test -r $(sysconfdir)/enscript.cfg; then \
|
|
- cp $(sysconfdir)/enscript.cfg $(sysconfdir)/enscript.cfg.old; \
|
|
- else :; \
|
|
- fi
|
|
- $(INSTALL_DATA) enscript.cfg $(sysconfdir)/enscript.cfg
|
|
+ $(top_srcdir)/mkinstalldirs $(libdir)
|
|
+ $(INSTALL_DATA) enscript.cfg $(libdir)/enscript.cfg-sample
|
|
|
|
uninstall-local:
|
|
rm -f $(sysconfdir)/enscript.cfg
|