openbsd-ports/net/ircd-hybrid/patches/patch-help_Makefile_in
bernd d0e9c3f08c Initial import of ircd-hybrid-7.2.3.
This is ircd-hybrid, the highly modified (and hopefully improved)
variant of the original ircd program by Jarkko Oikarinen.

Tested by Alex Popov, Sebastian Trahm, okan@ and sthen@. Thanks!
Hints and help from fgsch@ and sthen@.

ok sthen@
2009-01-28 23:35:07 +00:00

32 lines
1.0 KiB
Plaintext

$OpenBSD: patch-help_Makefile_in,v 1.1.1.1 2009/01/28 23:35:07 bernd Exp $
--- help/Makefile.in.orig Wed Feb 28 05:17:47 2007
+++ help/Makefile.in Tue Jan 27 20:47:38 2009
@@ -8,8 +8,8 @@ RM = @RM@
prefix = @prefix@
exec_prefix = @execprefix@
datarootdir = $(DESTDIR)@datarootdir@
-uhelpdir = ${prefix}/help/users
-ohelpdir = ${prefix}/help/opers
+uhelpdir = ${datarootdir}/ircd-hybrid/help/users
+ohelpdir = ${datarootdir}/ircd-hybrid/help/opers
SYMLINKS = topic accept cmode admin names links away whowas \
version kick who invite quit join list nick oper part \
@@ -22,14 +22,8 @@ depend:
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
+ $(BSD_INSTALL_DATA_DIR) $(uhelpdir)
+ $(BSD_INSTALL_DATA_DIR) $(ohelpdir)
@for help in opers/*; do \
if [ -f $$help ]; then \
${INSTALL_DATA} $$help $(ohelpdir); \