openbsd-ports/net/ngircd/patches/patch-doc_Makefile_in
fgsch 09959a815f Update to ngircd 20.1.
merdely@ benoit@ ok.
2013-01-19 20:40:56 +00:00

23 lines
873 B
Plaintext

$OpenBSD: patch-doc_Makefile_in,v 1.2 2013/01/19 20:40:56 fgsch Exp $
--- doc/Makefile.in.orig Fri Jan 18 01:32:04 2013
+++ doc/Makefile.in Fri Jan 18 01:32:49 2013
@@ -584,16 +584,13 @@ maintainer-clean-local:
all: $(generated_docs)
install-data-hook: $(static_docs) $(toplevel_docs) $(generated_docs)
- $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
- @if [ ! -f $(DESTDIR)$(sysconfdir)/ngircd.conf ]; then \
- make install-config; \
- fi
$(mkinstalldirs) $(DESTDIR)$(docdir)
for f in $(static_docs) $(toplevel_docs); do \
$(INSTALL) -m 644 -c $(srcdir)/$$f $(DESTDIR)$(docdir)/; \
done
+ $(mkinstalldirs) $(DESTDIR)${datarootdir}/examples/${PACKAGE_TARNAME}
for f in $(generated_docs); do \
- $(INSTALL) -m 644 -c $$f $(DESTDIR)$(docdir)/; \
+ $(INSTALL) -m 644 -c $$f $(DESTDIR)${datarootdir}/examples/${PACKAGE_TARNAME}; \
done
install-config: