044fb677fb
- cleanup port from brad tested by aja@ edd@
36 lines
1.7 KiB
Plaintext
36 lines
1.7 KiB
Plaintext
$OpenBSD: patch-etc_Makefile_in,v 1.2 2011/10/19 13:46:17 jasper Exp $
|
|
--- etc/Makefile.in.orig Fri Oct 14 15:18:51 2011
|
|
+++ etc/Makefile.in Fri Oct 14 15:24:01 2011
|
|
@@ -257,24 +257,24 @@ clean-libtool:
|
|
-rm -rf .libs _libs
|
|
install-dist_sysconfDATA: $(dist_sysconf_DATA)
|
|
@$(NORMAL_INSTALL)
|
|
- test -z "$(sysconfdir)" || $(MKDIR_P) "$(DESTDIR)$(sysconfdir)"
|
|
- @list='$(dist_sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \
|
|
+ test -z "$(prefix)/share/examples/ircd-hybrid" || $(MKDIR_P) "$(DESTDIR)$(prefix)/share/examples/ircd-hybrid"
|
|
+ @list='$(dist_sysconf_DATA)'; test -n "$(prefix)/share/examples/ircd-hybrid" || list=; \
|
|
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|^.*/||'`; \
|
|
test -n "$$files" || exit 0; \
|
|
- echo " ( cd '$(DESTDIR)$(sysconfdir)' && rm -f" $$files ")"; \
|
|
- cd "$(DESTDIR)$(sysconfdir)" && rm -f $$files
|
|
+ echo " ( cd '$(DESTDIR)$(prefix)/share/examples/ircd-hybrid' && rm -f" $$files ")"; \
|
|
+ cd "$(DESTDIR)$(prefix)/share/examples/ircd-hybrid" && rm -f $$files
|
|
tags: TAGS
|
|
TAGS:
|
|
|