/[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.41 - (hide annotations) (download)
Fri Jul 4 01:52:55 2008 UTC (10 years, 10 months ago) by tothwolf
Branch: MAIN
Changes since 1.40: +33 -31 lines
Refactored root Makefile.in variables.

Removed unnecessary '-g' flag from LD variables (-g is ignored).

Renamed DEBCFLAGS to DEBCFLGS

Moved -g3 compiler flag to DEBCFLGS variable.

Removed double quoting "`command`" in autoconf macro tests.

Changed autoconf macro 'test ! foo = bar' tests to 'test foo !=  bar'. Both are portable but '!=' is now more common in autoconf macros and is easier to read.

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23