/[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.40 - (hide annotations) (download)
Sat Aug 28 06:43:21 2004 UTC (14 years, 8 months ago) by wcc
Branch: MAIN
Changes since 1.39: +2 -3 lines
* 'make depend' works again. Use 'misc/makedepend' to update Makefile
  dependencies (Backport 1.7).
* Small fix to misc/addpatch by TaKeDa (Backport 1.7).

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23