1 # Generated automatically from Makefile.in by configure.
2 # $Id: Makefile.in 1044 2006-03-12 16:05:39Z jilles $
3 # makefile for include/
5 AUTOMAKE_OPTIONS = foreign
8 exec_prefix= @execprefix@
10 uhelpdir= ${helpdir}/users
11 ohelpdir= ${helpdir}/opers
13 SYMLINKS= topic accept cmode admin names links away whowas \
14 version kick who invite quit join list nick oper part \
15 time credits motd userhost users whois ison lusers \
16 user help pass error challenge knock ping pong \
17 cprivmsg cnotice map trace chantrace extban monitor
26 @echo building index files
28 @for help in users/*; do \
29 if [ -f $$help ]; then \
30 echo $$help >> users/index.tmp; \
33 @for help in $(SYMLINKS); do \
34 echo $$help >> users/index.tmp; \
36 echo 'Help topics available to users:' > users/index
37 echo '' >> users/index
39 | sed -e 's|^users/||' \
47 @for help in opers/*; do \
48 if [ -f $$help ]; then \
49 echo $$help >> opers/index.tmp; \
52 echo 'Help topics available to opers:' > opers/index
53 echo '' >> opers/index
55 | sed -e 's|^opers/||' \
58 | column -c 65 -s ' ' -x \
64 -@if test -d $(DESTDIR)$(helpdir)-old; then \
65 rm -rf $(DESTDIR)$(helpdir)-old; \
67 -@if test -d $(DESTDIR)$(helpdir); then \
68 echo "ircd: backing up old help files"; \
69 mv $(DESTDIR)$(helpdir) $(DESTDIR)$(helpdir)-old; \
72 @echo "ircd: setting up help directory structure"
73 @mkdir -p -m 755 $(DESTDIR)$(helpdir)
74 @mkdir -p -m 755 $(DESTDIR)$(helpdir)/opers
75 @mkdir -p -m 755 $(DESTDIR)$(helpdir)/users
77 @for help in opers/*; do \
78 if [ -f $$help ]; then \
79 ${INSTALL_DATA} $$help $(DESTDIR)$(ohelpdir); \
82 @for help in users/*; do \
83 if [ -f $$help ]; then \
84 $(INSTALL_DATA) $$help $(DESTDIR)$(uhelpdir); \
87 @for link in $(SYMLINKS); do \
88 rm -f $(DESTDIR)$(uhelpdir)/$$link; \
89 ln -s $(ohelpdir)/$$link $(DESTDIR)$(uhelpdir); \