]> jfr.im git - irc/rqf/shadowircd.git/blob - help/Makefile.in
Disallow invites to juped channels.
[irc/rqf/shadowircd.git] / help / Makefile.in
1 # Generated automatically from Makefile.in by configure.
2 # $Id: Makefile.in 1044 2006-03-12 16:05:39Z jilles $
3 # makefile for include/
4
5 INSTALL= @INSTALL@
6 INSTALL_DATA= @INSTALL_DATA@
7 RM= @RM@
8
9 prefix= @prefix@
10 exec_prefix= @execprefix@
11 helpdir= @helpdir@
12 uhelpdir= ${helpdir}/users
13 ohelpdir= ${helpdir}/opers
14
15 SYMLINKS= topic accept cmode admin names links away whowas \
16 version kick who invite quit join list nick oper part \
17 time credits motd userhost users whois ison lusers \
18 user help pass error challenge knock ping pong \
19 cprivmsg cnotice map trace chantrace
20
21 all:
22 build:
23 clean:
24 depend:
25 lint:
26
27 index:
28 @echo building index files
29 rm -f users/index.tmp
30 @for help in users/*; do \
31 if [ -f $$help ]; then \
32 echo $$help >> users/index.tmp; \
33 fi \
34 done
35 @for help in $(SYMLINKS); do \
36 echo $$help >> users/index.tmp; \
37 done
38 echo 'Help topics available to users:' > users/index
39 echo '' >> users/index
40 cat users/index.tmp \
41 | sed -e 's|^users/||' \
42 | sort -u \
43 | tr a-z A-Z \
44 | column -c 65 -x \
45 | expand \
46 >> users/index
47 rm -f users/index.tmp
48 rm -f opers/index.tmp
49 @for help in opers/*; do \
50 if [ -f $$help ]; then \
51 echo $$help >> opers/index.tmp; \
52 fi \
53 done
54 echo 'Help topics available to opers:' > opers/index
55 echo '' >> opers/index
56 cat opers/index.tmp \
57 | sed -e 's|^opers/||' \
58 | sort -u \
59 | tr a-z A-Z \
60 | column -c 65 -s ' ' -x \
61 | expand \
62 >> opers/index
63 rm -f opers/index.tmp
64
65 install:
66 -@if test -d $(DESTDIR)$(helpdir)-old; then \
67 rm -rf $(DESTDIR)$(helpdir)-old; \
68 fi
69 -@if test -d $(DESTDIR)$(helpdir); then \
70 echo "ircd: backing up old help files"; \
71 mv $(DESTDIR)$(helpdir) $(DESTDIR)$(helpdir)-old; \
72 fi
73
74 @echo "ircd: setting up help directory structure"
75 @mkdir -p -m 755 $(DESTDIR)$(helpdir)
76 @mkdir -p -m 755 $(DESTDIR)$(helpdir)/opers
77 @mkdir -p -m 755 $(DESTDIR)$(helpdir)/users
78
79 @for help in opers/*; do \
80 if [ -f $$help ]; then \
81 ${INSTALL_DATA} $$help $(DESTDIR)$(ohelpdir); \
82 fi \
83 done
84 @for help in users/*; do \
85 if [ -f $$help ]; then \
86 $(INSTALL_DATA) $$help $(DESTDIR)$(uhelpdir); \
87 fi \
88 done
89 @for link in $(SYMLINKS); do \
90 rm -f $(DESTDIR)$(uhelpdir)/$$link; \
91 ln -s $(ohelpdir)/$$link $(DESTDIR)$(uhelpdir); \
92 done
93
94
95 distclean:
96 ${RM} -f Makefile
97
98 depend: