/[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.42 - (hide annotations) (download)
Fri Jul 4 03:17:25 2008 UTC (11 years ago) by tothwolf
Branch: MAIN
Changes since 1.41: +7 -4 lines
Require autoconf 2.60 now.

Added AC_PRESERVE_HELP_ORDER macro to configure.ac

Added new autoconf macros to aclocal.m4 and configure.ac: EGG_DEBUG_ENABLE EGG_DEBUG_DEFAULTS EGG_DEBUG_OPTIONS EGG_DEBUG_CFLAGS EGG_ENABLE_DEBUG_CONTEXT

Added new configure options: --enable-debug --enable-debug-mem --enable-debug-assert --enable-debug-context

Replaced ENABLE_STRIP define with DEBUG

DEBUG_CONTEXT is now defined in config.h instead of eggdrop.h

Refactored DEBUG and DEBUG_CONTEXT conditional code in main.c.

Don't default set unlimited core file size for non-debug builds.

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23