pkgsrc/sysutils/smartmontools/patches/patch-aa
jlam d7c341a8a9 Use a standard idiom to install the config files into the examples
directory instead of $(sysconfdir) for packages that use GNU automake.
Also modify patch-aa to avoid installing the provided init.d script
in a simpler way.
2005-01-02 20:29:16 +00:00

32 lines
1.1 KiB
Text

$NetBSD: patch-aa,v 1.2 2005/01/02 20:29:16 jlam Exp $
--- Makefile.in.orig 2004-07-05 04:10:33.000000000 -0400
+++ Makefile.in
@@ -251,8 +251,7 @@ docs_DATA = AUTHORS \
NEWS \
README \
TODO \
- WARNINGS \
- smartd.conf
+ WARNINGS
sysconf_DATA = smartd.conf$(smartd_suffix)
@@ -916,7 +915,7 @@ check: check-recursive
all-am: Makefile $(PROGRAMS) $(MANS) $(DATA) config.h
installdirs: installdirs-recursive
installdirs-am:
- $(mkinstalldirs) $(DESTDIR)$(sbindir) $(DESTDIR)$(man5dir) $(DESTDIR)$(man8dir) $(DESTDIR)$(docsdir) $(DESTDIR)$(initddir) $(DESTDIR)$(sysconfdir)
+ $(mkinstalldirs) $(DESTDIR)$(sbindir) $(DESTDIR)$(man5dir) $(DESTDIR)$(man8dir) $(DESTDIR)$(docsdir) $(DESTDIR)$(sysconfdir)
install: install-recursive
install-exec: install-exec-recursive
@@ -962,7 +961,7 @@ info: info-recursive
info-am:
-install-data-am: install-docsDATA install-initdDATA install-man
+install-data-am: install-docsDATA install-man
install-exec-am: install-sbinPROGRAMS install-sysconfDATA