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

Diff of /eggdrop1.6/Makefile.in

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

revision 1.5 by fabian, Mon Oct 11 07:59:55 1999 UTC revision 1.6 by fabian, Thu Oct 21 19:22:58 1999 UTC
# Line 3  Line 3 
3  #  You should never need to edit this.  #  You should never need to edit this.
4  #  #
5    
6    SHELL = /bin/sh
7    
8  prefix = @prefix@  prefix = @prefix@
9  DEST = @DEST@  DEST = @DEST@
10  NEWVERSION = `grep 'char egg_version' src/main.c | @AWK@ '{gsub(/(\"|\;)/, "", $$4); print $$4}'`  EGGEXEC = @EGGEXEC@
11    EGGVERSION = @EGGVERSION@
 SHELL = /bin/sh  
12    
13  # things you can put here:  # things you can put here:
14  #   -Wall            if you're using gcc and it supports it (configure  #   -Wall            if you're using gcc and it supports it (configure
15  #                      usually detects this anyway now)  #                      usually detects this anyway now)
16  #   -DEBUG_MEM       to be able to debug memory allocation (.debug)  #   -DEBUG_MEM       to be able to debug memory allocation (.debug)
17  # this can now be set by using 'make debugmem'  # this can now be set by using 'make debug'
18  CFLGS =  CFLGS =
19    
20  # configure SHOULD set these...you may need to tweak them to get modules  # configure SHOULD set these...you may need to tweak them to get modules
21  # to compile .. if you do...let the devel-team know the working settings  # to compile .. if you do...let the devel-team know the working settings
22  # btw to turn STRIP off, do 'STRIP = touch' not 'STRIP ='  # btw to turn STRIP off, do 'STRIP = touch' not 'STRIP ='
23    
24    # defaults
25  CC = @CC@  CC = @CC@
26  LD = @CC@  LD = @CC@
27    STRIP = @STRIP@
28    RANLIB = @RANLIB@
29    
30  #making eggmod  # make eggmod
31  MOD_CC = @BEL_MOD_CC@  MOD_CC = @MOD_CC@
32  MOD_LD = @BEL_MOD_LD@  MOD_LD = @MOD_LD@
33  MOD_STRIP = @BEL_MOD_STRIP@  MOD_STRIP = @MOD_STRIP@
 DLFLAGS = @DLFLAGS@  
34    
35  #making modules  # make modules
36  SHLIB_CC = @SHLIB_CC@  SHLIB_CC = @SHLIB_CC@
37  SHLIB_LD = @SHLIB_LD@  SHLIB_LD = @SHLIB_LD@
38  SHLIB_STRIP = @SHLIB_STRIP@  SHLIB_STRIP = @SHLIB_STRIP@
39    
40  # configure SHOULD set these properly if not, modify them appropriately  # programs make install uses
 # these are the cp commands that make install uses  
 CP1 = @CP1@  
 CP2 = @CP2@  
 CP3 = @CP3@  
   
 # With any luck this won't burst into flames or cause sterility  
41  LN_S = @LN_S@  LN_S = @LN_S@
42    INSTALL = @INSTALL@
43    INSTALL_PROGRAM = @INSTALL_PROGRAM@
44    INSTALL_DATA = @INSTALL_DATA@
45    INSTALL_SCRIPT = @INSTALL_SCRIPT@
46    
47  # STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP #  # STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP #
48  # - - - - - - - - do not edit anything below this line. - - - - - - - - #  # - - - - - - - - do not edit anything below this line. - - - - - - - - #
49  # - - - - - - - - -  it's all done by configure now.  - - - - - - - - - #  # - - - - - - - - -  it's all done by configure now.  - - - - - - - - - #
50  # STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP #  # STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP #
51    
   
52  # stuff for Tcl  # stuff for Tcl
53  XREQ = @TCL_REQS@  XREQ = @TCL_REQS@
54  TCLLIB = @TCLLIB@  TCLLIB = @TCLLIB@
55  CFLAGS = -c @CFLAGS@ -I.. @DEFS@ ${CFLGS}  TCLLIBFN = @TCLLIBFN@
56    
57    CFLAGS = @CFLAGS@ -I.. @DEFS@ $(CFLGS)
58  @SET_MAKE@  @SET_MAKE@
59    
60    MAKE_STATIC = $(MAKE) 'CC=$(CC)' 'LD=$(LD)' 'STRIP=$(STRIP)' \
61    'RANLIB=$(RANLIB)' 'CFLAGS=$(CFLAGS) -DSTATIC' \
62    'CPPFLAGS=$(CPPFLAGS)' 'EGGEXEC=$(EGGEXEC)' 'TCLLIB=$(TCLLIB)' \
63    'TCLLIBFN=$(TCLLIBFN)' 'XREQ=$(XREQ)' 'XLIBS=@TCL_LIBS@ @LIBS@'
64    
65    MAKE_MODEGG = $(MAKE) 'CC=$(MOD_CC)' 'LD=$(MOD_LD)' 'STRIP=$(MOD_STRIP)' \
66    'RANLIB=$(RANLIB)' 'CFLAGS=$(CFLAGS)' \
67    'CPPFLAGS=$(CPPFLAGS)' 'EGGEXEC=$(EGGEXEC)' 'TCLLIB=$(TCLLIB)' \
68    'TCLLIBFN=$(TCLLIBFN)' 'XREQ=$(XREQ)' 'XLIBS=@TCL_LIBS@ @LIBS@'
69    
70    MAKE_MODULES = $(MAKE) 'CC=$(SHLIB_CC)' 'LD=$(SHLIB_LD)' \
71    'STRIP=$(SHLIB_STRIP)' 'CFLAGS=$(CFLAGS)' 'CPPFLAGS=$(CPPFLAGS)'
72    
73    MAKE_SDEBUG = $(MAKE) 'CC=$(CC)' 'LD=$(LD)' 'STRIP=touch' \
74    'RANLIB=$(RANLIB)' 'CFLAGS=-g3 $(CFLAGS) -DSTATIC -DEBUG_MEM' \
75    'CPPFLAGS=$(CPPFLAGS)' 'EGGEXEC=$(EGGEXEC)' 'TCLLIB=$(TCLLIB)' \
76    'TCLLIBFN=$(TCLLIBFN)' 'XREQ=$(XREQ)' 'XLIBS=@TCL_LIBS@ @LIBS@'
77    
78    MAKE_MEMEGG = $(MAKE) 'CC=$(MOD_CC)' 'LD=$(MOD_LD)' 'STRIP=touch' \
79    'RANLIB=$(RANLIB)' 'CFLAGS=-g3 $(CFLAGS) -DEBUG_MEM' \
80    'CPPFLAGS=$(CPPFLAGS)' 'EGGEXEC=$(EGGEXEC)' 'TCLLIB=$(TCLLIB)' \
81    'TCLLIBFN=$(TCLLIBFN)' 'XREQ=$(XREQ)' 'XLIBS=@TCL_LIBS@ @LIBS@'
82    
83    MAKE_DEBMODULES = $(MAKE) 'CC=$(SHLIB_CC)' 'LD=$(SHLIB_LD)' \
84    'STRIP=touch' 'CFLAGS=-g3 $(CFLAGS) -DEBUG_MEM' 'CPPFLAGS=$(CPPFLAGS)'
85    
86    MAKE_INSTALL = $(MAKE) 'DEST=$(DEST)'
87    
88  all:    @DEFAULT_MAKE@  all:    @DEFAULT_MAKE@
89    
90  help:  clean:
91      @echo "To make eggdrop :"      @rm -f $(EGGEXEC) *.so *.stamp core DEBUG *~
92      @echo "   % make "      @cd doc; $(MAKE) clean
93        @cd scripts; $(MAKE) clean
94  cleanmods:      @cd src; $(MAKE) clean
95      @cd src/mod; ${MAKE} clean 'MAKE=${MAKE}'      @cd src/md5; $(MAKE) clean
96        @cd src/mod; $(MAKE) clean
 clean: cleanmods  
     @rm -f eggdrop egg core DEBUG *.o *.a *.so *.stamp  
     @cd src; rm -f eggdrop egg core DEBUG *.o *.a  
     @cd src/md5; ${MAKE} clean  
97    
98  distclean: clean  distclean: clean
99      @rm -f Makefile config.cache config.log config.status config.h lush.h      @rm -f Makefile doc/Makefile scripts/Makefile src/Makefile src/md5/Makefile src/mod/Makefile
100        @rm -f config.cache config.log config.status config.h lush.h
101    
102    distrib: distclean
103      @rm -f `find . \( -name '*~' -o -name '*#' -o -name '*.orig' \      @rm -f `find . \( -name '*~' -o -name '*#' -o -name '*.orig' \
104          -o -name '*.rej' -o -name '*.bak' \) -print`          -o -name '*.rej' -o -name '*.bak' \) -print`
   
 distrib: distclean Makefile.in  
105      @rm -rf `find . \( -name "CVS" \) -print`      @rm -rf `find . \( -name "CVS" \) -print`
106      @(echo "all:"; \      @(echo "all:"; \
107      echo "  @echo \"\""; \      echo "  @echo \"\""; \
# Line 86  distrib: distclean Makefile.in Line 113  distrib: distclean Makefile.in
113    
114  eggdrop: modegg modules  eggdrop: modegg modules
115    
116  debugmem: memegg debmodules  modegg: modtest
117        @cd src; $(MAKE_MODEGG) modegg
118  eggdrop.h:      @echo ""
119      @echo You do not have the eggdrop source!      @./$(EGGEXEC) -v
120      @exit 1      @ls -l $(EGGEXEC)
   
 OBJS =  botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o \  
     dccutil.o dns.o flags.o language.o main.o mem.o misc.o \  
     modules.o net.o rfc1459.o tcl.o tcldcc.o tclhash.o \  
     tclmisc.o tcluser.o userent.o userrec.o users.o md5/md5c.o  
   
 GMAKE_STATIC = ${MAKE} 'CC=${CC}' 'LD=${LD}' 'OBJS=${OBJS}' \  
 'STRIP=${MOD_STRIP}' 'CFLAGS=${CFLAGS} -DSTATIC' 'XLIBS=@TCL_LIBS@ @LIBS@' \  
 'RESLIB=@RESLIB@'  
   
 GMAKE_SHLIB = ${MAKE} 'CC=${SHLIB_CC}' 'LD=${SHLIB_LD}' \  
 'STRIP=${SHLIB_STRIP}' 'CFLAGS=${CFLAGS}' 'RESLIB=@RESLIB@'  
   
 GMAKE_MOD = ${MAKE} 'CC=${MOD_CC}' 'LD=${MOD_LD}' 'OBJS=${OBJS}'\  
 'CFLAGS=${CFLAGS}' 'XREQ=${XREQ}' \  
 'TCLLIB=${TCLLIB}' 'STRIP=${MOD_STRIP}' 'RANLIB=@RANLIB@' \  
 'XLIBS=@TCL_LIBS@ @LIBS@'  
   
 DMAKE_MEM = ${MAKE} 'CC=${MOD_CC}' 'LD=${MOD_LD}' \  
 'OBJS=${OBJS}' 'CFLAGS=-g3 ${CFLAGS} -DEBUG_MEM' 'XREQ=${XREQ}' \  
 'TCLLIB=${TCLLIB}' 'STRIP=touch' 'RANLIB=@RANLIB@' \  
 'XLIBS=@TCL_LIBS@ @LIBS@'  
121    
122  DMAKE_SHLIB = ${MAKE} 'CC=${SHLIB_CC}' 'LD=${SHLIB_LD}' \  modules: modtest
123  'STRIP=touch' 'CFLAGS=-g3 ${CFLAGS} -DEBUG_MEM' 'RESLIB=@RESLIB@'      @cd src/mod; $(MAKE_MODULES) modules
124        @echo ""
125        @echo "modules made:"
126        @ls -l *.so
127    
128  static: eggtest  static: eggtest
129      @echo ""      @echo ""
130      @echo "Making module objects for static linking..."      @echo "Making module objects for static linking..."
131      @echo ""      @echo ""
132      @rm -f src/main.o      @cd src/mod; $(MAKE_STATIC) static
     @cd src/mod; ${GMAKE_STATIC} static  
133      @echo ""      @echo ""
134      @echo "Making core eggdrop for static linking..."      @echo "Making core eggdrop for static linking..."
135      @echo ""      @echo ""
136      @cd src; ${GMAKE_STATIC} static      @cd src; $(MAKE_STATIC) static
137        @echo ""
138        @./$(EGGEXEC) -v
139        @ls -l $(EGGEXEC)
140    
141  modegg: modtest  debug: memegg debmodules
     @cd src; ${GMAKE_MOD} eggdrop  
     @echo  
     @./eggdrop -v  
     @ls -la eggdrop  
142            
143  modules:  modtest  memegg: modtest
144      @cd src/mod; ${GMAKE_SHLIB} modules      @cd src; $(MAKE_MEMEGG) memegg
145      @echo      @echo ""
146      @echo "modules made:"      @./$(EGGEXEC) -v
147      @ls -la *.so      @ls -l $(EGGEXEC)
148    
149  debmodules:  modtest  debmodules:  modtest
150      @cd src/mod; ${DMAKE_SHLIB} modules      @cd src/mod; $(MAKE_DEBMODULES) modules
151      @echo      @echo ""
152      @echo "modules made:"      @echo "modules made:"
153      @ls -la *.so      @ls -l *.so
154    
155  memegg:  modtest  sdebug: eggtest
156      @cd src; ${DMAKE_MEM} eggdrop      @echo ""
157      @echo      @echo "Making module objects for static linking..."
158      @./eggdrop -v      @echo ""
159      @ls -la eggdrop      @cd src/mod; $(MAKE_SDEBUG) static
160        @echo ""
161        @echo "Making core eggdrop for static linking..."
162        @echo ""
163        @cd src; $(MAKE_SDEBUG) sdebug
164        @echo ""
165        @./$(EGGEXEC) -v
166        @ls -l $(EGGEXEC)
167    
168  eggtest:  eggtest:
169      @if [ -f EGGMOD.stamp ]; then \      @if [ -f EGGMOD.stamp ]; then \
170          echo You\'re trying to do a STATIC build of eggdrop when you\'ve;\          echo "You're trying to do a STATIC build of eggdrop when you've";\
171          echo already run \'make\' for a module build.;\          echo "already run 'make' for a module build.";\
172          echo You must first type \"make clean\" before you can build;\          echo "You must first type \"make clean\" before you can build";\
173          echo a static version.;\          echo "a static version.";\
174          exit 1;\          exit 1;\
175      fi      fi
176      @date >EGGDROP.stamp      @echo "stamp" >EGGDROP.stamp
177    
178  modtest:  modtest:
179      @if [ -f EGGDROP.stamp ]; then \      @if [ -f EGGDROP.stamp ]; then \
180          echo You\'re trying to do a MODULE build of eggdrop when you\'ve;\          echo "You're trying to do a MODULE build of eggdrop when you've";\
181          echo already run \'make\' for a static build.;\          echo "already run 'make' for a static build.";\
182          echo You must first type \"make clean\" before you can build;\          echo "You must first type \"make clean\" before you can build";\
183          echo a module version.;\          echo "a module version.";\
184          exit 1;\          exit 1;\
185      fi      fi
186      @date >EGGMOD.stamp      @echo "stamp" >EGGMOD.stamp
187    
188  install: @DEFAULT_MAKE@ ainstall  install: ainstall
189    
190  dinstall: eggdrop ainstall  dinstall: eggdrop ainstall
191    
192  sinstall: static ainstall  sinstall: static ainstall
193    
194  ainstall:  ainstall: install-start install-bin install-modules install-data \
195      @if test X$(DEST) = X; then \  install-help install-language install-filesys install-doc \
196          echo "You must specify a destination directory with DEST="; \  install-scripts install-end
197    
198    install-start:
199        @if test ! -f $(EGGEXEC); then \
200            echo ""; \
201            echo "You haven't compiled eggdrop yet."; \
202            echo "To compile eggdrop use:"; \
203            echo "  make <target>"; \
204            echo ""; \
205            echo "  valid targets: eggdrop static debug sdebug"; \
206            echo ""; \
207          exit 1; \          exit 1; \
208      fi      fi
209      @if test ! -f eggdrop; then \      @if test "x$(DEST)" = "x"; then \
210          echo "You haven't compiled eggdrop yet."; \          echo "You must specify a destination directory with DEST="; \
211          exit 1; \          exit 1; \
212      fi      fi
213      @./eggdrop -v      @echo ""
214        @./$(EGGEXEC) -v
215      @echo      @echo
216      @echo Installing in directory: $(DEST).      @echo "Installing in directory: '$(DEST)'."
217      @echo      @echo
218      @if test ! -d $(DEST); then \      @if test ! -d $(DEST); then \
219          echo Creating directory: $(DEST).; \          echo "Creating directory: $(DEST)."; \
220          mkdir $(DEST); \          $(INSTALL) -d $(DEST); \
     fi  
     @$(CP1) README $(DEST)/  
     @$(CP1) eggdrop.conf.dist $(DEST)/  
     @if test ! -d $(DEST)/language; then \  
         echo Creating language subdirectory.; \  
         mkdir $(DEST)/language; \  
     fi  
     @$(CP2) language/* src/mod/*.mod/*.lang $(DEST)/language/  
     @if test -f $(DEST)/eggdrop; then \  
         rm -f $(DEST)/oeggdrop; \  
221      fi      fi
222      @if test ! -d $(DEST)/logs; then \  
223          echo Creating logs subdirectory.; \  install-bin:
224          mkdir $(DEST)/logs; \      @if test -f $(DEST)/$(EGGEXEC); then \
225          $(CP1) logs/CONTENTS $(DEST)/logs/; \          rm -f $(DEST)/o$(EGGEXEC); \
         fi  
     @if test ! -d $(DEST)/text; then \  
         echo Creating text subdirectory.; \  
         mkdir $(DEST)/text; \  
226      fi      fi
227      @if test ! -f $(DEST)/text/motd; then \      @if test -h $(DEST)/$(EGGEXEC); then \
228          $(CP1) text/motd $(DEST)/text/; \          echo "Removing symlink to archival eggdrop binary."; \
229            rm -f $(DEST)/$(EGGEXEC); \
230      fi      fi
231      @if test ! -f $(DEST)/text/banner; then \      @if test -f $(DEST)/$(EGGEXEC); then \
232          $(CP1) text/banner $(DEST)/text/; \          echo "Renamed the old '$(EGGEXEC)' executable to 'o$(EGGEXEC)'."; \
233            mv -f $(DEST)/$(EGGEXEC) $(DEST)/o$(EGGEXEC); \
234      fi      fi
235        @echo "Copying new '$(EGGEXEC)' executable and creating symlink."
236        @$(INSTALL_PROGRAM) $(EGGEXEC) $(DEST)/$(EGGEXEC)-$(EGGVERSION)
237        @(cd $(DEST) && $(LN_S) $(EGGEXEC)-$(EGGVERSION) $(EGGEXEC))
238    
239    install-modules:
240      @if test -h $(DEST)/modules; then \      @if test -h $(DEST)/modules; then \
241          echo Removing symlink to archival modules directory.; \          echo "Removing symlink to archival modules directory."; \
242          rm -f $(DEST)/modules; \          rm -f $(DEST)/modules; \
243      fi      fi
244      @if test -d $(DEST)/modules/; then \      @if test -d $(DEST)/modules; then \
245          echo Moving old modules into \'modules.old\' directory.; \          echo "Moving old modules into 'modules.old' directory."; \
246          rm -rf $(DEST)/modules.old; \          rm -rf $(DEST)/modules.old; \
247          mv -f $(DEST)/modules $(DEST)/modules.old; \          mv -f $(DEST)/modules $(DEST)/modules.old; \
248      fi      fi
249      @if test ! -d $(DEST)/modules\-${NEWVERSION}/; then \      @if test ! "x`echo *.so`" = "x*.so"; then \
250          echo Creating modules\-${NEWVERSION} directory and symlink.; \          if test ! -d $(DEST)/modules-$(EGGVERSION); then \
251          mkdir $(DEST)/modules\-${NEWVERSION}; \              echo "Creating modules-$(EGGVERSION) directory and symlink."; \
252      fi              $(INSTALL) -d $(DEST)/modules-$(EGGVERSION); \
253      @$(LN_S) modules\-${NEWVERSION} $(DEST)/modules          fi; \
254      @if test -f assoc.so; then \          (cd $(DEST) && $(LN_S) modules-$(EGGVERSION) modules); \
255          echo Copying new modules.; \          echo "Copying new modules."; \
256          $(CP3) *.so $(DEST)/modules/; \          for i in *.so; do \
257      fi              $(INSTALL_PROGRAM) $$i $(DEST)/modules-$(EGGVERSION)/; \
258      @if test -h $(DEST)/eggdrop; then \          done; \
         echo Removing symlink to archival eggdrop binary.; \  
         rm -f $(DEST)/eggdrop; \  
     fi  
     @if test -f $(DEST)/eggdrop; then \  
         echo Renamed the old \'eggdrop\' executable to \'oeggdrop\'.; \  
         mv -f $(DEST)/eggdrop $(DEST)/oeggdrop; \  
     fi  
     @echo Copying new \'eggdrop\' executable and creating symlink.  
     @$(CP1) eggdrop $(DEST)/eggdrop\-${NEWVERSION}  
     @$(LN_S) eggdrop\-${NEWVERSION} $(DEST)/eggdrop  
     @if test ! -d $(DEST)/doc; then \  
         echo Creating \'doc\' subdirectory.; \  
         mkdir $(DEST)/doc; \  
     fi  
     @echo Copying \'doc\' files.  
     @$(CP2) doc/* $(DEST)/doc/  
     @if test ! -d $(DEST)/help; then \  
         echo Creating \'help\' subdirectory.; \  
         mkdir $(DEST)/help; \  
259      fi      fi
260      @$(CP2) help/* $(DEST)/help/  
261    install-data:
262        @$(INSTALL_DATA) eggdrop.conf.dist $(DEST)
263        @if test ! -d $(DEST)/logs; then \
264            echo "Creating 'logs' subdirectory."; \
265            $(INSTALL) -d $(DEST)/logs; \
266            $(INSTALL_DATA) logs/CONTENTS $(DEST)/logs/; \
267        fi;
268        @if test ! -d $(DEST)/text; then \
269            echo "Creating 'text' subdirectory."; \
270            $(INSTALL) -d $(DEST)/text; \
271        fi;
272        @if test ! -f $(DEST)/text/motd; then \
273            $(INSTALL_DATA) text/motd $(DEST)/text/; \
274        fi
275        @if test ! -f $(DEST)/text/banner; then \
276            $(INSTALL_DATA) text/banner $(DEST)/text/; \
277        fi
278    
279    install-help:
280        @echo "Copying help files."
281        @if test ! "x`echo help/*.help`" = "xhelp/*.help"; then \
282            if test ! -d $(DEST)/help; then \
283                echo "Creating 'help' subdirectory."; \
284                $(INSTALL) -d $(DEST)/help; \
285            fi; \
286            for i in help/*.help; do \
287                $(INSTALL_DATA) $$i $(DEST)/help/; \
288            done; \
289        fi
290        @if test ! "x`echo help/msg/*.help`" = "xhelp/msg/*.help"; then \
291            if test ! -d $(DEST)/help/msg; then \
292                echo "Creating 'help/msg' subdirectory."; \
293                $(INSTALL) -d $(DEST)/help/msg; \
294            fi; \
295            for i in help/msg/*.help; do \
296                $(INSTALL_DATA) $$i $(DEST)/help/msg/; \
297            done; \
298        fi
299        @if test ! "x`echo help/set/*.help`" = "xhelp/set/*.help"; then \
300            if test ! -d $(DEST)/help/set; then \
301                echo "Creating 'help/set' subdirectory."; \
302                $(INSTALL) -d $(DEST)/help/set; \
303            fi; \
304            for i in help/set/*.help; do \
305                $(INSTALL_DATA) $$i $(DEST)/help/set/; \
306            done; \
307        fi
308        @cd src/mod/; $(MAKE_INSTALL) install-help
309    
310    install-language:
311        @echo "Copying language files."
312        @if test ! "x`echo language/*.lang`" = "xlanguage/*.lang"; then \
313            if test ! -d $(DEST)/language; then \
314                echo "Creating 'language' subdirectory."; \
315                $(INSTALL) -d $(DEST)/language; \
316            fi; \
317            for i in language/*.lang; do \
318                $(INSTALL_DATA) $$i $(DEST)/language/; \
319            done; \
320        fi
321        @cd src/mod/; $(MAKE_INSTALL) install-language
322    
323    install-filesys:
324      @if test ! -d $(DEST)/filesys; then \      @if test ! -d $(DEST)/filesys; then \
325          echo Creating a skeletal \'filesys\' subdirectory.; \          echo "Creating a skeletal filesys subdirectory."; \
326          mkdir $(DEST)/filesys; \          $(INSTALL) -d $(DEST)/filesys; \
327          mkdir $(DEST)/filesys/incoming; \          $(INSTALL) -d $(DEST)/filesys/incoming; \
     fi  
     @if test ! -d $(DEST)/scripts; then \  
         echo Creating a \'scripts\' subdirectory.; \  
         mkdir $(DEST)/scripts; \  
         echo Copying scripts.; \  
         $(CP2) scripts/* $(DEST)/scripts; \  
328      fi      fi
329    
330    install-doc:
331        @$(INSTALL_DATA) README $(DEST)
332        @cd doc/; $(MAKE_INSTALL) install
333    
334    install-scripts:
335        @cd scripts/; $(MAKE_INSTALL) install
336    
337    install-end:
338      @echo      @echo
339      @${MAKE} REALDEST=`cd $(DEST); pwd` install2      @echo "Installation completed."
340      @echo      @echo ""
341      @echo Installation completed.      @echo "You MUST ensure that you edit/verify your configuration file."
342      @echo You MUST ensure that you edit/verify your configuration file.      @echo "'eggdrop.conf.dist' lists current options."
343      @echo \'eggdrop.conf.dist\' lists current options.      @echo ""
344      @echo Remember to change directory to $(DEST) before you proceed.      @echo "Remember to change directory to $(DEST) before you proceed."
345        @echo ""
 install2:  
     @echo Installing mods -- DEST = $(REALDEST)  
     @cd src/mod; ${MAKE} REALDEST=$(REALDEST) install CP1='${CP1}'; cd ../..  
346    
347  #safety hash  #safety hash

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23