openbsd-ports/net/ngircd/patches/patch-doc_Makefile_in
fgsch 4f357382c8 Update to ngircd 21.1
Been using this without issues for a few months now.
2014-07-01 10:26:07 +00:00

23 lines
876 B
Plaintext

$OpenBSD: patch-doc_Makefile_in,v 1.4 2014/07/01 10:26:07 fgsch Exp $
--- doc/Makefile.in.orig Wed Mar 26 09:19:14 2014
+++ doc/Makefile.in Wed Mar 26 09:20:50 2014
@@ -586,16 +586,13 @@ maintainer-clean-local:
all: $(generated_docs)
install-data-hook: $(static_docs) $(toplevel_docs) $(generated_docs)
- $(MKDIR_P) -m 755 $(DESTDIR)$(sysconfdir)
- @if [ ! -f $(DESTDIR)$(sysconfdir)/ngircd.conf ]; then \
- make install-config; \
- fi
$(MKDIR_P) -m 755 $(DESTDIR)$(docdir)
for f in $(static_docs) $(toplevel_docs); do \
$(INSTALL) -m 644 -c $(srcdir)/$$f $(DESTDIR)$(docdir)/; \
done
+ $(MKDIR_P) -m 755 $(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: