/[cvs]/eggdrop1.6/Makefile.in
ViewVC logotype

Annotation of /eggdrop1.6/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.34 - (hide annotations) (download)
Tue Dec 9 22:21:46 2003 UTC (15 years, 10 months ago) by wcc
Branch: MAIN
Changes since 1.33: +38 -26 lines
* Cosmetic updates to the build process.
* ctype.h is*() functions are apparently unsafe unless recasted.
  * Found by Teemu Hjelt.

1 segfault 1.1 #
2 wcc 1.30 # This is the Makefile for EGGDROP (the IRC bot)
3 segfault 1.1 # You should never need to edit this.
4     #
5 wcc 1.34 # $Id: Makefile.in,v 1.33 2002/09/27 22:16:24 wcc Exp $
6 segfault 1.1
7 fabian 1.23 SHELL = @SHELL@
8 fabian 1.8 top_srcdir = @top_srcdir@
9 fabian 1.17 srcdir = @srcdir@
10     VPATH = @srcdir@
11 fabian 1.6
12 fabian 1.8 @SET_MAKE@
13 segfault 1.1 prefix = @prefix@
14 fabian 1.2 DEST = @DEST@
15 fabian 1.6 EGGEXEC = @EGGEXEC@
16     EGGVERSION = @EGGVERSION@
17 segfault 1.1
18     # things you can put here:
19 fabian 1.8 # -Wall if you're using gcc and it supports it
20     # (configure usually detects this anyway now)
21 fabian 1.11 #
22     # -DDEBUG_ASSERT to enable assert debugging
23 fabian 1.10 # -DDEBUG_MEM to be able to debug memory allocation (.debug)
24 fabian 1.11 # These can both be set by using 'make debug'
25     # or 'make sdebug'
26 fabian 1.2 CFLGS =
27 segfault 1.1
28     # configure SHOULD set these...you may need to tweak them to get modules
29     # to compile .. if you do...let the devel-team know the working settings
30 fabian 1.2 # btw to turn STRIP off, do 'STRIP = touch' not 'STRIP ='
31 segfault 1.1
32 fabian 1.6 # defaults
33 fabian 1.2 CC = @CC@
34 wcc 1.32 LD = @CC@
35 fabian 1.6 STRIP = @STRIP@
36     RANLIB = @RANLIB@
37 segfault 1.1
38 fabian 1.6 # make eggmod
39     MOD_CC = @MOD_CC@
40 wcc 1.32 MOD_LD = @MOD_LD@
41 fabian 1.6 MOD_STRIP = @MOD_STRIP@
42 segfault 1.1
43 fabian 1.6 # make modules
44 segfault 1.1 SHLIB_CC = @SHLIB_CC@
45 wcc 1.32 SHLIB_LD = @SHLIB_LD@
46 segfault 1.1 SHLIB_STRIP = @SHLIB_STRIP@
47 fabian 1.22 MOD_EXT = @MOD_EXT@
48 segfault 1.1
49 fabian 1.6 # programs make install uses
50 fabian 1.2 LN_S = @LN_S@
51 fabian 1.6 INSTALL = @INSTALL@
52     INSTALL_PROGRAM = @INSTALL_PROGRAM@
53     INSTALL_DATA = @INSTALL_DATA@
54     INSTALL_SCRIPT = @INSTALL_SCRIPT@
55 segfault 1.1
56     # STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP #
57     # - - - - - - - - do not edit anything below this line. - - - - - - - - #
58     # - - - - - - - - - it's all done by configure now. - - - - - - - - - #
59     # STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP #
60    
61 guppy 1.28 # stuff for Tcl
62 fabian 1.7 XREQS = @TCL_REQS@
63 guppy 1.26 XLIBS = @TCL_LIBS@ @LIBS@
64 segfault 1.1 TCLLIB = @TCLLIB@
65 fabian 1.6 TCLLIBFN = @TCLLIBFN@
66    
67 fabian 1.17 DEBCFLAGS = -DDEBUG_ASSERT -DDEBUG_MEM
68 segfault 1.1
69 fabian 1.15 modconf = $(top_srcdir)/misc/modconfig --top_srcdir=$(top_srcdir)
70 fabian 1.14
71 fabian 1.24 egg_test_run = EGG_LANGDIR=$(top_srcdir)/language ./$(EGGEXEC) -v
72    
73 fabian 1.16 post_config = echo "" && \
74     echo "You can now compile the bot, using \"make\"." && \
75     echo ""
76    
77     post_iconfig = $(modconf) update-depends && \
78     $(modconf) Makefile && \
79     (cd src/mod && $(MAKE_CONFIG) config) && \
80     $(modconf) Makefile
81    
82 fabian 1.20 egg_install_msg = echo "" && \
83     echo "Now run \"make install\" to install your bot." && \
84     echo ""
85    
86 fabian 1.8 MAKE_MODEGG = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(MOD_CC)' 'LD=$(MOD_LD)' \
87 fabian 1.17 'STRIP=$(MOD_STRIP)' 'RANLIB=$(RANLIB)' 'CFLGS=$(CFLGS)' \
88     'TCLLIB=$(TCLLIB)' 'TCLLIBFN=$(TCLLIBFN)' 'XREQS=$(XREQS)' \
89 wcc 1.34 'XLIBS=$(XLIBS)' 'EGGEXEC=$(EGGEXEC)' 'EGGBUILD=(standard build)' 'MODOBJS='
90 fabian 1.6
91 fabian 1.8 MAKE_MODULES = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(SHLIB_CC)' 'LD=$(SHLIB_LD)' \
92 fabian 1.22 'STRIP=$(SHLIB_STRIP)' 'CFLGS=$(CFLGS)' 'XLIBS=$(XLIBS)' 'MOD_EXT=$(MOD_EXT)'
93 fabian 1.6
94 fabian 1.8 MAKE_STATIC = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(CC)' 'LD=$(LD)' \
95 fabian 1.17 'STRIP=$(STRIP)' 'RANLIB=$(RANLIB)' 'CFLGS=$(CFLGS) -DSTATIC' \
96     'TCLLIB=$(TCLLIB)' 'TCLLIBFN=$(TCLLIBFN)' 'XREQS=$(XREQS)' \
97     'XLIBS=$(XLIBS)' 'EGGEXEC=$(EGGEXEC)' 'EGGBUILD=(static version)' \
98     'MODOBJS=mod/*.o'
99 fabian 1.8
100     MAKE_DEBEGG = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(MOD_CC)' 'LD=$(MOD_LD) -g' \
101 fabian 1.20 'STRIP=touch' 'RANLIB=$(RANLIB)' 'CFLGS=-g3 $(DEBCFLAGS) $(CFLGS)' \
102 fabian 1.17 'TCLLIB=$(TCLLIB)' 'TCLLIBFN=$(TCLLIBFN)' 'XREQS=$(XREQS)' \
103     'XLIBS=$(XLIBS)' 'EGGEXEC=$(EGGEXEC)' 'EGGBUILD=(debug version)' 'MODOBJS='
104 fabian 1.8
105     MAKE_DEBMODULES = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(SHLIB_CC)' 'LD=$(SHLIB_LD)' \
106 fabian 1.22 'XLIBS=$(XLIBS)' 'STRIP=touch' 'CFLGS=-g3 $(DEBCFLAGS) $(CFLGS)' \
107     'MOD_EXT=$(MOD_EXT)'
108 fabian 1.8
109     MAKE_SDEBUG = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(CC)' 'LD=$(LD) -g' \
110 fabian 1.20 'STRIP=touch' 'RANLIB=$(RANLIB)' 'CFLGS=-g3 $(DEBCFLAGS) -DSTATIC $(CFLGS)' \
111 fabian 1.17 'TCLLIB=$(TCLLIB)' 'TCLLIBFN=$(TCLLIBFN)' 'XREQS=$(XREQS)' 'XLIBS=$(XLIBS)' \
112 wcc 1.34 'EGGEXEC=$(EGGEXEC)' 'EGGBUILD=(static debug version)' 'MODOBJS=mod/*.o'
113 fabian 1.6
114 fabian 1.8 MAKE_DEPEND = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(CC)' 'LD=$(LD)' \
115 fabian 1.17 'STRIP=$(STRIP)' 'CFLGS=$(CFLGS)'
116 fabian 1.6
117 fabian 1.13 MAKE_CONFIG = $(MAKE) 'MAKE=$(MAKE)'
118    
119 fabian 1.8 MAKE_INSTALL = $(MAKE) 'MAKE=$(MAKE)' 'DEST=$(DEST)'
120 fabian 1.6
121     all: @DEFAULT_MAKE@
122    
123 fabian 1.13 eggclean:
124 fabian 1.22 @rm -f $(EGGEXEC) *.$(MOD_EXT) *.stamp core DEBUG *~
125 fabian 1.13 @cd doc && $(MAKE) clean
126     @cd scripts && $(MAKE) clean
127     @cd src && $(MAKE) clean
128     @cd src/md5 && $(MAKE) clean
129 fabian 1.17 @cd src/compat && $(MAKE) clean
130 fabian 1.13
131     clean: eggclean
132     @cd src/mod && $(MAKE) clean
133 segfault 1.1
134 fabian 1.14 distclean: eggclean clean-modconfig
135 fabian 1.13 @cd src/mod && $(MAKE) distclean
136 fabian 1.17 @rm -f Makefile doc/Makefile scripts/Makefile src/Makefile src/md5/Makefile src/compat/Makefile src/mod/Makefile
137 fabian 1.14 @rm -f config.cache config.log config.status config.h lush.h
138 guppy 1.29 @rm -rf autom4te.cache
139 fabian 1.6
140     distrib: distclean
141 fabian 1.2 @rm -f `find . \( -name '*~' -o -name '*#' -o -name '*.orig' \
142     -o -name '*.rej' -o -name '*.bak' \) -print`
143 fabian 1.7 @rm -rf `find . \( -name 'CVS' \) -print`
144 fabian 1.2 @(echo "all:"; \
145 fabian 1.6 echo " @echo \"\""; \
146 fabian 1.2 echo " @echo \"Before you can compile your bot you have to configure it.\""; \
147 wcc 1.34 echo " @echo \"Please start the configure script now:\""; \
148 fabian 1.2 echo " @echo \"\""; \
149     echo " @echo \" % ./configure\""; \
150     echo " @echo \"\""; ) > Makefile
151 segfault 1.1
152 fabian 1.8 depend:
153     @cat /dev/null > lush.h
154 fabian 1.13 @cd src && $(MAKE_DEPEND) depend
155     @cd src/md5 && $(MAKE_DEPEND) depend
156     @cd src/mod && $(MAKE_DEPEND) depend
157 fabian 1.17 @cd src/compat && $(MAKE_DEPEND) depend
158 fabian 1.19
159     eggautoconf:
160     @$(modconf) eggautoconf
161 fabian 1.13
162     config:
163 fabian 1.16 @$(modconf) modules-still-exist
164 fabian 1.14 @$(modconf) detect-modules
165     @$(modconf) update-depends
166     @$(modconf) Makefile
167     @cd src/mod && $(MAKE_CONFIG) config
168     @$(modconf) Makefile
169 fabian 1.16 @$(post_config)
170    
171     new-iconfig:
172     @$(modconf) modules-still-exist
173     @$(modconf) update-depends
174     @$(modconf) -n configure
175     @$(post_iconfig)
176     @$(post_config)
177 fabian 1.14
178     iconfig:
179 fabian 1.16 @$(modconf) modules-still-exist
180 fabian 1.14 @$(modconf) detect-modules
181     @$(modconf) update-depends
182     @$(modconf) configure
183 fabian 1.16 @$(post_iconfig)
184     @$(post_config)
185 fabian 1.14
186     clean-modconfig:
187 fabian 1.16 @rm -f .modules .known_modules
188 fabian 1.14
189     conftest:
190 fabian 1.16 @if test ! -f .modules; then \
191 fabian 1.14 echo ""; \
192 wcc 1.34 echo "You have NOT configured modules yet. This has to be done before you"; \
193     echo "can start compiling."; \
194 fabian 1.14 echo ""; \
195     echo " Run \"make config\" or \"make iconfig\" now."; \
196     echo ""; \
197     exit 1; \
198     fi
199 fabian 1.13
200 fabian 1.14 reconfig: clean-modconfig config
201 fabian 1.8
202 segfault 1.1 eggdrop: modegg modules
203    
204 fabian 1.6 modegg: modtest
205 fabian 1.13 @rm -f src/mod/mod.xlibs
206     @cd src && $(MAKE_MODEGG) $(EGGEXEC)
207 wcc 1.34
208     modules: modtest
209     @cd src/mod && $(MAKE_MODULES) modules
210 fabian 1.6 @echo ""
211 wcc 1.34 @echo "Test run of ./eggdrop -v:"
212 fabian 1.24 @$(egg_test_run)
213 wcc 1.34 @echo ""
214     @echo "Eggdrop successfully compiled:"
215 fabian 1.6 @ls -l $(EGGEXEC)
216     @echo ""
217 wcc 1.34 @echo "Modules successfully compiled:"
218 fabian 1.22 @ls -l *.$(MOD_EXT)
219 fabian 1.20 @$(egg_install_msg)
220 segfault 1.1
221     static: eggtest
222     @echo ""
223     @echo "Making module objects for static linking..."
224     @echo ""
225 fabian 1.13 @rm -f src/mod/mod.xlibs
226     @cd src/mod && $(MAKE_STATIC) static
227 segfault 1.1 @echo ""
228     @echo "Making core eggdrop for static linking..."
229     @echo ""
230 fabian 1.13 @cd src && $(MAKE_STATIC) $(EGGEXEC)
231 fabian 1.6 @echo ""
232 wcc 1.34 @echo "Test run of ./eggdrop -v:"
233 fabian 1.24 @$(egg_test_run)
234 wcc 1.34 @echo ""
235     @echo "Eggdrop successfully compiled:"
236 fabian 1.6 @ls -l $(EGGEXEC)
237 wcc 1.34 @echo ""
238 fabian 1.20 @$(egg_install_msg)
239 segfault 1.1
240 fabian 1.7 debug: debegg debmodules
241 fabian 1.6
242 fabian 1.7 debegg: modtest
243 fabian 1.13 @cd src && $(MAKE_DEBEGG) $(EGGEXEC)
244 wcc 1.34
245     debmodules: modtest
246     @cd src/mod && $(MAKE_DEBMODULES) modules
247 fabian 1.6 @echo ""
248 wcc 1.34 @echo "Test run of ./eggdrop -v:"
249 fabian 1.24 @$(egg_test_run)
250 wcc 1.34 @echo ""
251     @echo "Eggdrop successfully compiled:"
252 fabian 1.6 @ls -l $(EGGEXEC)
253     @echo ""
254 wcc 1.34 @echo "Modules successfully compiled:"
255 fabian 1.22 @ls -l *.$(MOD_EXT)
256 fabian 1.20 @$(egg_install_msg)
257 segfault 1.1
258 fabian 1.6 sdebug: eggtest
259     @echo ""
260 wcc 1.34 @echo "Making module objects for static linking."
261 fabian 1.6 @echo ""
262 fabian 1.13 @rm -f src/mod/mod.xlibs
263     @cd src/mod && $(MAKE_SDEBUG) static
264 fabian 1.6 @echo ""
265 wcc 1.34 @echo "Making eggdrop core for static linking."
266 fabian 1.6 @echo ""
267 fabian 1.13 @cd src && $(MAKE_SDEBUG) $(EGGEXEC)
268 fabian 1.6 @echo ""
269 wcc 1.34 @echo "Test run of ./eggdrop -v:"
270 fabian 1.24 @$(egg_test_run)
271 wcc 1.34 @echo ""
272     @echo "Eggdrop successfully compiled:"
273 fabian 1.6 @ls -l $(EGGEXEC)
274 wcc 1.34 @echo ""
275 fabian 1.20 @$(egg_install_msg)
276 segfault 1.1
277 fabian 1.14 eggtest: conftest
278 fabian 1.16 @if test -f EGGMOD.stamp; then \
279 fabian 1.6 echo "You're trying to do a STATIC build of eggdrop when you've";\
280     echo "already run 'make' for a module build.";\
281     echo "You must first type \"make clean\" before you can build";\
282     echo "a static version.";\
283 segfault 1.1 exit 1;\
284     fi
285 fabian 1.6 @echo "stamp" >EGGDROP.stamp
286 segfault 1.1
287 fabian 1.14 modtest: conftest
288 segfault 1.1 @if [ -f EGGDROP.stamp ]; then \
289 fabian 1.6 echo "You're trying to do a MODULE build of eggdrop when you've";\
290     echo "already run 'make' for a static build.";\
291     echo "You must first type \"make clean\" before you can build";\
292     echo "a module version.";\
293 segfault 1.1 exit 1;\
294     fi
295 fabian 1.6 @echo "stamp" >EGGMOD.stamp
296 segfault 1.1
297 fabian 1.6 install: ainstall
298 segfault 1.1
299     dinstall: eggdrop ainstall
300    
301     sinstall: static ainstall
302    
303 fabian 1.6 ainstall: install-start install-bin install-modules install-data \
304     install-help install-language install-filesys install-doc \
305     install-scripts install-end
306    
307     install-start:
308     @if test ! -f $(EGGEXEC); then \
309     echo ""; \
310     echo "You haven't compiled eggdrop yet."; \
311     echo "To compile eggdrop use:"; \
312     echo " make <target>"; \
313     echo ""; \
314     echo " valid targets: eggdrop static debug sdebug"; \
315     echo ""; \
316 segfault 1.1 exit 1; \
317     fi
318 fabian 1.6 @if test "x$(DEST)" = "x"; then \
319     echo "You must specify a destination directory with DEST="; \
320 segfault 1.1 exit 1; \
321     fi
322 fabian 1.6 @echo ""
323 fabian 1.24 @$(egg_test_run)
324 wcc 1.34 @echo ""
325 fabian 1.6 @echo "Installing in directory: '$(DEST)'."
326 wcc 1.34 @echo ""
327 segfault 1.1 @if test ! -d $(DEST); then \
328 wcc 1.34 echo "Creating directory '$(DEST)'."; \
329 fabian 1.15 $(top_srcdir)/misc/mkinstalldirs $(DEST); \
330 segfault 1.1 fi
331 fabian 1.6
332     install-bin:
333 fabian 1.20 @if test -f $(DEST)/o$(EGGEXEC); then \
334 fabian 1.6 rm -f $(DEST)/o$(EGGEXEC); \
335 segfault 1.1 fi
336 fabian 1.6 @if test -h $(DEST)/$(EGGEXEC); then \
337     echo "Removing symlink to archival eggdrop binary."; \
338     rm -f $(DEST)/$(EGGEXEC); \
339 fabian 1.2 fi
340 fabian 1.6 @if test -f $(DEST)/$(EGGEXEC); then \
341 wcc 1.34 echo "Renaming old '$(EGGEXEC)' executable to 'o$(EGGEXEC)'."; \
342 fabian 1.6 mv -f $(DEST)/$(EGGEXEC) $(DEST)/o$(EGGEXEC); \
343 segfault 1.1 fi
344 fabian 1.6 @echo "Copying new '$(EGGEXEC)' executable and creating symlink."
345     @$(INSTALL_PROGRAM) $(EGGEXEC) $(DEST)/$(EGGEXEC)-$(EGGVERSION)
346     @(cd $(DEST) && $(LN_S) $(EGGEXEC)-$(EGGVERSION) $(EGGEXEC))
347    
348     install-modules:
349 segfault 1.1 @if test -h $(DEST)/modules; then \
350 wcc 1.34 echo "Removing symlink to archival modules subdirectory."; \
351 segfault 1.1 rm -f $(DEST)/modules; \
352     fi
353 fabian 1.6 @if test -d $(DEST)/modules; then \
354 wcc 1.34 echo "Moving old modules into 'modules.old' subdirectory."; \
355 segfault 1.1 rm -rf $(DEST)/modules.old; \
356     mv -f $(DEST)/modules $(DEST)/modules.old; \
357     fi
358 fabian 1.22 @if test ! "x`echo *.$(MOD_EXT)`" = "x*.$(MOD_EXT)"; then \
359 fabian 1.6 if test ! -d $(DEST)/modules-$(EGGVERSION); then \
360 wcc 1.34 echo "Creating 'modules-$(EGGVERSION)' subdirectory and symlink."; \
361 fabian 1.15 $(top_srcdir)/misc/mkinstalldirs $(DEST)/modules-$(EGGVERSION); \
362 fabian 1.6 fi; \
363     (cd $(DEST) && $(LN_S) modules-$(EGGVERSION) modules); \
364     echo "Copying new modules."; \
365 fabian 1.22 for i in *.$(MOD_EXT); do \
366 fabian 1.6 $(INSTALL_PROGRAM) $$i $(DEST)/modules-$(EGGVERSION)/; \
367     done; \
368     fi
369    
370     install-data:
371 wcc 1.33 @if test ! -f $(DEST)/eggdrop.conf; then \
372     $(INSTALL_DATA) $(srcdir)/eggdrop.conf $(DEST)/; \
373     fi
374 fabian 1.6 @if test ! -d $(DEST)/logs; then \
375     echo "Creating 'logs' subdirectory."; \
376 fabian 1.15 $(top_srcdir)/misc/mkinstalldirs $(DEST)/logs; \
377 fabian 1.17 $(INSTALL_DATA) $(srcdir)/logs/CONTENTS $(DEST)/logs/; \
378 fabian 1.6 fi;
379     @if test ! -d $(DEST)/text; then \
380     echo "Creating 'text' subdirectory."; \
381 fabian 1.15 $(top_srcdir)/misc/mkinstalldirs $(DEST)/text; \
382 fabian 1.6 fi;
383     @if test ! -f $(DEST)/text/motd; then \
384 fabian 1.17 $(INSTALL_DATA) $(srcdir)/text/motd $(DEST)/text/; \
385 fabian 1.6 fi
386     @if test ! -f $(DEST)/text/banner; then \
387 fabian 1.17 $(INSTALL_DATA) $(srcdir)/text/banner $(DEST)/text/; \
388 fabian 1.6 fi
389    
390     install-help:
391     @echo "Copying help files."
392 fabian 1.17 @if test ! "x`echo $(srcdir)/help/*.help`" = "x$(srcdir)/help/*.help"; then \
393 fabian 1.6 if test ! -d $(DEST)/help; then \
394     echo "Creating 'help' subdirectory."; \
395 fabian 1.15 $(top_srcdir)/misc/mkinstalldirs $(DEST)/help; \
396 fabian 1.6 fi; \
397 fabian 1.17 for i in $(srcdir)/help/*.help; do \
398 fabian 1.6 $(INSTALL_DATA) $$i $(DEST)/help/; \
399     done; \
400     fi
401 fabian 1.17 @if test ! "x`echo $(srcdir)/help/msg/*.help`" = "x$(srcdir)/help/msg/*.help"; then \
402 fabian 1.6 if test ! -d $(DEST)/help/msg; then \
403     echo "Creating 'help/msg' subdirectory."; \
404 fabian 1.15 $(top_srcdir)/misc/mkinstalldirs $(DEST)/help/msg; \
405 fabian 1.6 fi; \
406 fabian 1.17 for i in $(srcdir)/help/msg/*.help; do \
407 fabian 1.6 $(INSTALL_DATA) $$i $(DEST)/help/msg/; \
408     done; \
409     fi
410 fabian 1.17 @if test ! "x`echo $(srcdir)/help/set/*.help`" = "x$(srcdir)/help/set/*.help"; then \
411 fabian 1.6 if test ! -d $(DEST)/help/set; then \
412     echo "Creating 'help/set' subdirectory."; \
413 fabian 1.15 $(top_srcdir)/misc/mkinstalldirs $(DEST)/help/set; \
414 fabian 1.6 fi; \
415 fabian 1.17 for i in $(srcdir)/help/set/*.help; do \
416 fabian 1.6 $(INSTALL_DATA) $$i $(DEST)/help/set/; \
417     done; \
418     fi
419 fabian 1.13 @cd src/mod/ && $(MAKE_INSTALL) install-help
420 fabian 1.6
421     install-language:
422     @echo "Copying language files."
423 fabian 1.17 @if test ! "x`echo $(srcdir)/language/*.lang`" = "x$(srcdir)/language/*.lang"; then \
424 fabian 1.6 if test ! -d $(DEST)/language; then \
425     echo "Creating 'language' subdirectory."; \
426 fabian 1.15 $(top_srcdir)/misc/mkinstalldirs $(DEST)/language; \
427 fabian 1.6 fi; \
428 fabian 1.17 for i in $(srcdir)/language/*.lang; do \
429 fabian 1.6 $(INSTALL_DATA) $$i $(DEST)/language/; \
430     done; \
431 segfault 1.1 fi
432 fabian 1.13 @cd src/mod && $(MAKE_INSTALL) install-language
433 fabian 1.6
434     install-filesys:
435 segfault 1.1 @if test ! -d $(DEST)/filesys; then \
436 wcc 1.34 echo "Creating skeletal filesystem subdirectories."; \
437 fabian 1.15 $(top_srcdir)/misc/mkinstalldirs $(DEST)/filesys; \
438     $(top_srcdir)/misc/mkinstalldirs $(DEST)/filesys/incoming; \
439 segfault 1.1 fi
440 fabian 1.6
441     install-doc:
442 fabian 1.17 @$(INSTALL_DATA) $(srcdir)/README $(DEST)
443 fabian 1.13 @cd doc/ && $(MAKE_INSTALL) install
444 fabian 1.6
445     install-scripts:
446 fabian 1.13 @cd scripts/ && $(MAKE_INSTALL) install
447 fabian 1.6
448     install-end:
449 segfault 1.1 @echo
450 fabian 1.6 @echo "Installation completed."
451     @echo ""
452     @echo "You MUST ensure that you edit/verify your configuration file."
453 wcc 1.33 @echo "An example configuration file, eggdrop.conf, is distributed with Eggdrop."
454 fabian 1.6 @echo ""
455     @echo "Remember to change directory to $(DEST) before you proceed."
456     @echo ""

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23