openbsd-ports/net/pdnsd/patches/patch-doc_Makefile_in
aanriot 64341b9273 - update to 1.2.5 .
- remove PORTNAME variable which is ambiguous.
- remove stuff outside fake.
- remove MESSAGE (specific runtime options, no gain).

from Simon Lundström with slight changes;
inputs and ok bernd@
2006-10-31 14:58:46 +00:00

22 lines
972 B
Plaintext

--- doc/Makefile.in.orig Sat Sep 2 16:24:25 2006
+++ doc/Makefile.in Tue Oct 31 10:52:40 2006
@@ -397,12 +397,12 @@ uninstall-man: uninstall-man5 uninstall-
# XXX: Do not insist to set the config file owner to root to avoid breaking RPM
# builds
install-data-hook:
- $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
- if test `whoami` = "root"; then \
- $(INSTALL) -o 0 -g 0 -m 644 pdnsd.conf $(DESTDIR)$(sysconfdir)/pdnsd.conf.sample ; \
- else \
- $(INSTALL) -m 644 pdnsd.conf $(DESTDIR)$(sysconfdir)/pdnsd.conf.sample ; \
- fi
+ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(prefix)/share/examples/pdnsd/ ; \
+ $(BSD_INSTALL_DATA) pdnsd.conf $(DESTDIR)$(prefix)/share/examples/pdnsd/ ; \
+
+ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(prefix)/share/doc/pdnsd/ ; \
+ $(BSD_INSTALL_DATA) txt/*.txt $(DESTDIR)$(prefix)/share/doc/pdnsd/ ; \
+
# 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.
.NOEXPORT: