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

Annotation of /eggdrop1.9/Makefile.in

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


Revision 1.35 - (hide annotations) (download)
Wed Oct 10 01:20:08 2001 UTC (20 years ago) by ite
Branch: MAIN
CVS Tags: HEAD
Changes since 1.34: +1 -1 lines
FILE REMOVED
* Refactored the tree (especially src/modules.c) to use the libltdl
  wrapper. Modules are configured to be lt_dlopened or dl_preopened (if
  the system doesn't support shared libraries).
* Should compile modules on more SunOs environments and on Beos too.
* Libtoolized the package: modules and internal libraries build system
  more protable than ever.
* Wiped out old makefiles in favour of automake and Makefile.am's
  files.
* Misc cleanups.
* Updated bootstrap script
* Moved doc/AUTHORS to ./AUTHORS
* Updated config.guess and config.sub
* Changed misc/ to ./ temporairly
* Got rid of misc/modconfig, and more in general of the old module
  configuration stuff, in favor of an incoming ./configure parametrized
  choice.
* Moved configure macros from aclocal.m4 to acinclude.m4 since aclocal.m4
  is now generated by aclocal on bootstrap.
* Removed no more necessary macros like EGG_EXEEXT because of
  libltdl+automake power ;P
* Removed EGG_CHECK_LIBSAFE_SSCANF macro that wasn't necessary anymore
  after gettext support.
* Added preliminary EGG_DEBUG_OPTIONS macro.
* Heavily stripped EGG_CHECK_OS macro and got rid of some system
  specific defines that were dead because of libltdl.
* Updated .cvsignore files.
* Improved make dist target.
* make static is gone in favor of ./configure --disable-shared.
* make debug is gone in favor of future ./configure --with-debug
  options.
* Others targets are gone in favor of more GNU standard targets.
* Updated po/eggdrop.pot.
# Egglib is now compiled and linked in the core.
* Moved compress.mod's specific configure macros to the top configure script.
* Switched to gettext 0.10.40 and pre-gettextized the devel tree.

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23