openbsd-ports/net/ircd-hybrid/patches/patch-doc_Makefile_in

46 lines
2.0 KiB
Plaintext

$OpenBSD: patch-doc_Makefile_in,v 1.2 2013/01/29 23:50:04 brad Exp $
--- doc/Makefile.in.orig Mon Jan 28 14:39:31 2013
+++ doc/Makefile.in Tue Jan 29 13:02:30 2013
@@ -343,25 +343,25 @@ uninstall-man8:
dir='$(DESTDIR)$(man8dir)'; $(am__uninstall_files_from_dir)
install-dist_sysconfDATA: $(dist_sysconf_DATA)
@$(NORMAL_INSTALL)
- @list='$(dist_sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \
+ @list='$(dist_sysconf_DATA)'; test -n "$(prefix)/share/examples/ircd-hybrid" || list=; \
if test -n "$$list"; then \
- echo " $(MKDIR_P) '$(DESTDIR)$(sysconfdir)'"; \
- $(MKDIR_P) "$(DESTDIR)$(sysconfdir)" || exit 1; \
+ echo " $(MKDIR_P) '$(DESTDIR)$(prefix)/share/examples/ircd-hybrid'"; \
+ $(MKDIR_P) "$(DESTDIR)$(prefix)/share/examples/ircd-hybrid" || exit 1; \
fi; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
done | $(am__base_list) | \
while read files; do \
- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(sysconfdir)'"; \
- $(INSTALL_DATA) $$files "$(DESTDIR)$(sysconfdir)" || exit $$?; \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(prefix)/share/examples/ircd-hybrid'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(prefix)/share/examples/ircd-hybrid" || exit $$?; \
done
uninstall-dist_sysconfDATA:
@$(NORMAL_UNINSTALL)
- @list='$(dist_sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \
+ @list='$(dist_sysconf_DATA)'; test -n "$(prefix)/share/examples/ircd-hybrid" || list=; \
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
- dir='$(DESTDIR)$(sysconfdir)'; $(am__uninstall_files_from_dir)
+ dir='$(DESTDIR)$(prefix)/share/examples/ircd-hybrid'; $(am__uninstall_files_from_dir)
tags TAGS:
ctags CTAGS:
@@ -403,7 +403,7 @@ check-am: all-am
check: check-am
all-am: Makefile $(MANS) $(DATA)
installdirs:
- for dir in "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(sysconfdir)"; do \
+ for dir in "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(prefix)/share/examples/ircd-hybrid"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-am