/[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.43 - (hide annotations) (download)
Sun Mar 14 18:21:59 2010 UTC (9 years, 3 months ago) by pseudo
Branch: MAIN
CVS Tags: HEAD
Changes since 1.42: +2 -1 lines
Added a configure option to set the handlen
Added a configure option to enable dns debugging and made it default for make debug.
Removed obsolete check for broken sscanf from configure.

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23