summaryrefslogtreecommitdiff
path: root/irc/ircd-hybrid/files/patch-help_Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'irc/ircd-hybrid/files/patch-help_Makefile.in')
-rw-r--r--irc/ircd-hybrid/files/patch-help_Makefile.in41
1 files changed, 41 insertions, 0 deletions
diff --git a/irc/ircd-hybrid/files/patch-help_Makefile.in b/irc/ircd-hybrid/files/patch-help_Makefile.in
new file mode 100644
index 000000000000..3504cf01d96c
--- /dev/null
+++ b/irc/ircd-hybrid/files/patch-help_Makefile.in
@@ -0,0 +1,41 @@
+--- help/Makefile.in.orig Fri Dec 9 00:52:54 2005
++++ help/Makefile.in Mon Jan 9 09:54:19 2006
+@@ -7,8 +7,8 @@
+
+ prefix= @prefix@
+ exec_prefix= @execprefix@
+-uhelpdir= ${prefix}/help/users
+-ohelpdir= ${prefix}/help/opers
++uhelpdir= @UPATH@
++ohelpdir= @HPATH@
+
+ SYMLINKS= topic accept cmode admin names links away whowas \
+ version kick who invite quit join list nick oper part \
+@@ -21,14 +21,8 @@
+
+ install:
+ @echo installing help files...
+- -@if test ! -d $(prefix)/help; then \
+- echo "mkdir $(prefix)/help"; \
+- mkdir $(prefix)/help; \
+- echo "mkdir $(prefix)/help/users"; \
+- mkdir $(prefix)/help/users; \
+- echo "mkdir $(prefix)/help/opers"; \
+- mkdir $(prefix)/help/opers; \
+- fi
++ mkdir -p $(ohelpdir)
++ mkdir -p $(uhelpdir)
+ @for help in opers/*; do \
+ if [ -f $$help ]; then \
+ ${INSTALL_DATA} $$help $(ohelpdir); \
+@@ -38,10 +32,6 @@
+ if [ -f $$help ]; then \
+ $(INSTALL_DATA) $$help $(uhelpdir); \
+ fi \
+- done
+- @for link in $(SYMLINKS); do \
+- rm -f $(uhelpdir)/$$link; \
+- ln -s $(ohelpdir)/$$link $(uhelpdir); \
+ done
+
+ distclean: