1 # Generated automatically from Makefile.in by configure.
2 # $Id: Makefile.in 1044 2006-03-12 16:05:39Z jilles $
3 # makefile for include/
6 INSTALL_DATA= @INSTALL_DATA@
10 exec_prefix= @exec_prefix@
11 datarootdir = @datarootdir@
14 uhelpdir= ${helpdir}/users
15 ohelpdir= ${helpdir}/opers
17 SYMLINKS= topic accept cmode admin names links away whowas \
18 version kick who invite quit join list nick oper part \
19 time credits motd userhost users whois ison lusers \
20 user help pass error challenge knock ping pong \
21 cprivmsg cnotice map trace chantrace extban monitor
30 @echo building index files
32 @for help in users/*; do \
33 if [ -f $$help ]; then \
34 echo $$help >> users/index.tmp; \
37 @for help in $(SYMLINKS); do \
38 echo $$help >> users/index.tmp; \
40 echo 'Help topics available to users:' > users/index
41 echo '' >> users/index
43 | sed -e 's|^users/||' \
51 @for help in opers/*; do \
52 if [ -f $$help ]; then \
53 echo $$help >> opers/index.tmp; \
56 echo 'Help topics available to opers:' > opers/index
57 echo '' >> opers/index
59 | sed -e 's|^opers/||' \
62 | column -c 65 -s ' ' -x \
68 -@if test -d $(DESTDIR)$(helpdir)-old; then \
69 rm -rf $(DESTDIR)$(helpdir)-old; \
71 -@if test -d $(DESTDIR)$(helpdir); then \
72 echo "ircd: backing up old help files"; \
73 mv $(DESTDIR)$(helpdir) $(DESTDIR)$(helpdir)-old; \
76 @echo "ircd: setting up help directory structure"
77 @mkdir -p -m 755 $(DESTDIR)$(helpdir)
78 @mkdir -p -m 755 $(DESTDIR)$(helpdir)/opers
79 @mkdir -p -m 755 $(DESTDIR)$(helpdir)/users
81 @for help in opers/*; do \
82 if [ -f $$help ]; then \
83 ${INSTALL_DATA} $$help $(DESTDIR)$(ohelpdir); \
86 @for help in users/*; do \
87 if [ -f $$help ]; then \
88 $(INSTALL_DATA) $$help $(DESTDIR)$(uhelpdir); \
91 @for link in $(SYMLINKS); do \
92 rm -f $(DESTDIR)$(uhelpdir)/$$link; \
93 ln -s $(ohelpdir)/$$link $(DESTDIR)$(uhelpdir); \