[eggheads-patches] PATCH: install-fixes.diff

Tothwolf tothwolf at concentric.net
Fri Oct 15 16:20:56 CST 1999


install-fixes.diff:
  Fixes problems with ./install-sh

-Toth
-------------- next part --------------
diff -urNPX ../exclude ../eggdrop1.3.cvs/Makefile.in ./Makefile.in
--- ../eggdrop1.3.cvs/Makefile.in	Fri Oct 15 11:31:02 1999
+++ ./Makefile.in	Fri Oct 15 12:00:45 1999
@@ -83,9 +83,7 @@
 MAKE_DEBMODULES = $(MAKE) 'CC=$(SHLIB_CC)' 'LD=$(SHLIB_LD)' \
 'STRIP=touch' 'CFLAGS=-g3 $(CFLAGS) -DEBUG_MEM'
 
-MAKE_INSTALL = $(MAKE) 'DEST=$(DEST)' 'INSTALL=$(INSTALL)' \
-'INSTALL_PROGRAM=$(INSTALL_PROGRAM)' 'INSTALL_DATA=$(INSTALL_DATA)' \
-'INSTALL_SCRIPT=$(INSTALL_SCRIPT)'
+MAKE_INSTALL = $(MAKE) 'DEST=$(DEST)'
 
 all: @DEFAULT_MAKE@
 
@@ -96,7 +94,8 @@
 	@cd src/mod; $(MAKE) clean
 
 distclean: clean
-	@rm -f Makefile config.cache config.log config.status config.h lush.h
+	@rm -f Makefile doc/Makefile scripts/Makefile src/Makefile src/mod/Makefile
+	@rm -f config.cache config.log config.status config.h lush.h
 
 distrib: distclean Makefile.in
 	@rm -f `find . \( -name '*~' -o -name '*#' -o -name '*.orig' \
@@ -191,7 +190,7 @@
 sinstall: static ainstall
 
 ainstall: install-start install-bin install-modules install-data \
-	install-language install-help install-filesys install-doc \
+	install-help install-language install-filesys install-doc \
 	install-scripts install-end
 
 install-start:
@@ -261,19 +260,8 @@
 		$(INSTALL_DATA) telnet-banner $(DEST); \
 	fi
 
-install-language:
-	@if test ! "x`echo language/*.lang`" = "xlanguage/*.lang"; then \
-		if test ! -d $(DEST)/language; then \
-			echo "Creating 'language' subdirectory."; \
-			$(INSTALL) -d $(DEST)/language; \
-		fi; \
-		for i in language/*.lang; do \
-			$(INSTALL_DATA) $$i $(DEST)/language/; \
-		done; \
-	fi
-	@cd src/mod/; $(MAKE_INSTALL) install-language
-
 install-help:
+	@echo "Copying help files."
 	@if test ! "x`echo help/*.help`" = "xhelp/*.help"; then \
 		if test ! -d $(DEST)/help; then \
 			echo "Creating 'help' subdirectory."; \
@@ -302,6 +290,19 @@
 		done; \
 	fi
 	@cd src/mod/; $(MAKE_INSTALL) install-help
+
+install-language:
+	@echo "Copying language files."
+	@if test ! "x`echo language/*.lang`" = "xlanguage/*.lang"; then \
+		if test ! -d $(DEST)/language; then \
+			echo "Creating 'language' subdirectory."; \
+			$(INSTALL) -d $(DEST)/language; \
+		fi; \
+		for i in language/*.lang; do \
+			$(INSTALL_DATA) $$i $(DEST)/language/; \
+		done; \
+	fi
+	@cd src/mod/; $(MAKE_INSTALL) install-language
 
 install-filesys:
 	@if test ! -d $(DEST)/filesys; then \
diff -urNPX ../exclude ../eggdrop1.3.cvs/configure ./configure
--- ../eggdrop1.3.cvs/configure	Fri Oct 15 11:31:02 1999
+++ ./configure	Fri Oct 15 11:57:03 1999
@@ -3345,7 +3345,7 @@
 ac_given_srcdir=$srcdir
 ac_given_INSTALL="$INSTALL"
 
-trap 'rm -fr `echo "Makefile lush.h config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
+trap 'rm -fr `echo "Makefile doc/Makefile scripts/Makefile src/Makefile src/mod/Makefile lush.h config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
 EOF
 cat >> $CONFIG_STATUS <<EOF
 
@@ -3447,7 +3447,7 @@
 
 cat >> $CONFIG_STATUS <<EOF
 
-CONFIG_FILES=\${CONFIG_FILES-"Makefile lush.h"}
+CONFIG_FILES=\${CONFIG_FILES-"Makefile doc/Makefile scripts/Makefile src/Makefile src/mod/Makefile lush.h"}
 EOF
 cat >> $CONFIG_STATUS <<\EOF
 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
diff -urNPX ../exclude ../eggdrop1.3.cvs/configure.in ./configure.in
--- ../eggdrop1.3.cvs/configure.in	Fri Oct 15 11:31:03 1999
+++ ./configure.in	Fri Oct 15 11:45:53 1999
@@ -824,7 +824,7 @@
 AC_SUBST(SHLIB_STRIP)
 AC_SUBST(DEFAULT_MAKE)
 AC_SUBST(EGGEXEC)
-AC_OUTPUT(Makefile lush.h)
+AC_OUTPUT(Makefile doc/Makefile scripts/Makefile src/Makefile src/mod/Makefile lush.h)
 
 AC_MSG_RESULT()
 AC_MSG_RESULT(Configure is done.)
diff -urNPX ../exclude ../eggdrop1.3.cvs/doc/Makefile ./doc/Makefile
--- ../eggdrop1.3.cvs/doc/Makefile	Fri Oct 15 09:47:39 1999
+++ ./doc/Makefile	Wed Dec 31 18:00:00 1969
@@ -1,31 +0,0 @@
-# Makefile for doc/
-
-DOCS = BOTNET BUG-REPORT CONTENTS KNOWN-PROBLEMS \
-	MODULES Ode_To_Beldin UPDATES.pre1.3 UPDATES1.3 \
-	compiling.FAQ eggdrop.doc patch.howto \
-	tcl-commands.doc tricks
-
-MAN1 = man1/eggdrop.1
-
-all: $(DOCS) $(MAN1)
-
-clean:
-	@rm -f *~
-
-install:
-	@if test ! -d $(DEST)/doc; then \
-	echo "Creating a doc subdirectory."; \
-		$(INSTALL) -d $(DEST)/doc; \
-	fi
-	@if test ! -d $(DEST)/doc/man1; then \
-		$(INSTALL) -d $(DEST)/doc/man1; \
-	fi
-	@echo "Copying docs."
-	@for i in $(DOCS); do \
-		$(INSTALL_DATA) $$i $(DEST)/doc/; \
-	done
-	@for i in $(MAN1); do \
-		$(INSTALL_DATA) $$i $(DEST)/doc/man1/; \
-	done
-
-#safety hash
diff -urNPX ../exclude ../eggdrop1.3.cvs/doc/Makefile.in ./doc/Makefile.in
--- ../eggdrop1.3.cvs/doc/Makefile.in	Wed Dec 31 18:00:00 1969
+++ ./doc/Makefile.in	Fri Oct 15 11:47:02 1999
@@ -0,0 +1,36 @@
+# Makefile for doc/
+
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+
+DOCS = BOTNET BUG-REPORT CONTENTS KNOWN-PROBLEMS \
+	MODULES Ode_To_Beldin UPDATES.pre1.3 UPDATES1.3 \
+	compiling.FAQ eggdrop.doc patch.howto \
+	tcl-commands.doc tricks
+
+MAN1 = man1/eggdrop.1
+
+all: $(DOCS) $(MAN1)
+
+clean:
+	@rm -f *~
+
+install:
+	@if test ! -d $(DEST)/doc; then \
+	echo "Creating a doc subdirectory."; \
+		$(INSTALL) -d $(DEST)/doc; \
+	fi
+	@if test ! -d $(DEST)/doc/man1; then \
+		$(INSTALL) -d $(DEST)/doc/man1; \
+	fi
+	@echo "Copying docs."
+	@for i in $(DOCS); do \
+		$(INSTALL_DATA) $$i $(DEST)/doc/; \
+	done
+	@for i in $(MAN1); do \
+		$(INSTALL_DATA) $$i $(DEST)/doc/man1/; \
+	done
+
+#safety hash
diff -urNPX ../exclude ../eggdrop1.3.cvs/scripts/Makefile ./scripts/Makefile
--- ../eggdrop1.3.cvs/scripts/Makefile	Fri Oct 15 11:31:03 1999
+++ ./scripts/Makefile	Wed Dec 31 18:00:00 1969
@@ -1,57 +0,0 @@
-# Makefile for scripts/
-
-SCRIPTS = action.fix.tcl alltools.tcl compat.tcl getops-2.2d.tcl \
-	klined.tcl notes2.tcl ques5.tcl sentinel1.54.tcl userinfo1.0.tcl
-
-EXESCRIPTS = autobotchk botchk weed
-
-all: $(SCRIPTS) $(EXESCRIPTS)
-
-clean:
-	@rm -f *~
-
-install: install-scripts install-help
-
-install-scripts:
-	@if test ! -d $(DEST)/scripts; then \
-		echo "Creating a scripts subdirectory."; \
-		$(INSTALL) -d $(DEST)/scripts; \
-		echo Copying scripts.; \
-		for i in $(SCRIPTS); do \
-			$(INSTALL_DATA) $$i $(DEST)/scripts/; \
-		done; \
-		for i in $(EXESCRIPTS); do \
-			$(INSTALL_SCRIPT) $$i $(DEST)/scripts/; \
-		done; \
-	fi
-
-install-help:
-	@if test ! "x`echo help/*.help`" = "xhelp/*.help"; then \
-		if test ! -d $(DEST)/help; then \
-			echo "Creating 'help' subdirectory."; \
-			$(INSTALL) -d $(DEST)/help; \
-		fi; \
-		for i in help/*.help; do \
-			$(INSTALL_DATA) $$i $(DEST)/help/; \
-		done; \
-	fi
-	@if test ! "x`echo help/msg/*.help`" = "xhelp/msg/*.help"; then \
-		if test ! -d $(DEST)/help/msg; then \
-			echo "Creating 'help/msg' subdirectory."; \
-			$(INSTALL) -d $(DEST)/help/msg; \
-		fi; \
-		for i in help/msg/*.help; do \
-			$(INSTALL_DATA) $$i $(DEST)/help/msg/; \
-		done; \
-	fi
-	@if test ! "x`echo help/set/*.help`" = "xhelp/set/*.help"; then \
-		if test ! -d $(DEST)/help/set; then \
-			echo "Creating 'help/set' subdirectory."; \
-			$(INSTALL) -d $(DEST)/help/set; \
-		fi; \
-		for i in help/set/*.help; do \
-			$(INSTALL_DATA) $$i $(DEST)/help/set/; \
-		done; \
-	fi
-
-#safety hash
diff -urNPX ../exclude ../eggdrop1.3.cvs/scripts/Makefile.in ./scripts/Makefile.in
--- ../eggdrop1.3.cvs/scripts/Makefile.in	Wed Dec 31 18:00:00 1969
+++ ./scripts/Makefile.in	Fri Oct 15 11:47:33 1999
@@ -0,0 +1,62 @@
+# Makefile for scripts/
+
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+
+SCRIPTS = action.fix.tcl alltools.tcl compat.tcl getops-2.2d.tcl \
+	klined.tcl notes2.tcl ques5.tcl sentinel1.54.tcl userinfo1.0.tcl
+
+EXESCRIPTS = autobotchk botchk weed
+
+all: $(SCRIPTS) $(EXESCRIPTS)
+
+clean:
+	@rm -f *~
+
+install: install-scripts install-help
+
+install-scripts:
+	@if test ! -d $(DEST)/scripts; then \
+		echo "Creating a scripts subdirectory."; \
+		$(INSTALL) -d $(DEST)/scripts; \
+		echo Copying scripts.; \
+		for i in $(SCRIPTS); do \
+			$(INSTALL_DATA) $$i $(DEST)/scripts/; \
+		done; \
+		for i in $(EXESCRIPTS); do \
+			$(INSTALL_SCRIPT) $$i $(DEST)/scripts/; \
+		done; \
+	fi
+
+install-help:
+	@if test ! "x`echo help/*.help`" = "xhelp/*.help"; then \
+		if test ! -d $(DEST)/help; then \
+			echo "Creating 'help' subdirectory."; \
+			$(INSTALL) -d $(DEST)/help; \
+		fi; \
+		for i in help/*.help; do \
+			$(INSTALL_DATA) $$i $(DEST)/help/; \
+		done; \
+	fi
+	@if test ! "x`echo help/msg/*.help`" = "xhelp/msg/*.help"; then \
+		if test ! -d $(DEST)/help/msg; then \
+			echo "Creating 'help/msg' subdirectory."; \
+			$(INSTALL) -d $(DEST)/help/msg; \
+		fi; \
+		for i in help/msg/*.help; do \
+			$(INSTALL_DATA) $$i $(DEST)/help/msg/; \
+		done; \
+	fi
+	@if test ! "x`echo help/set/*.help`" = "xhelp/set/*.help"; then \
+		if test ! -d $(DEST)/help/set; then \
+			echo "Creating 'help/set' subdirectory."; \
+			$(INSTALL) -d $(DEST)/help/set; \
+		fi; \
+		for i in help/set/*.help; do \
+			$(INSTALL_DATA) $$i $(DEST)/help/set/; \
+		done; \
+	fi
+
+#safety hash
diff -urNPX ../exclude ../eggdrop1.3.cvs/src/Makefile ./src/Makefile
--- ../eggdrop1.3.cvs/src/Makefile	Fri Oct 15 11:31:03 1999
+++ ./src/Makefile	Wed Dec 31 18:00:00 1969
@@ -1,112 +0,0 @@
-# Makefile for src/
-
-OBJS = botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o \
-	dccutil.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
-
-doofus:
-	@echo ""
-	@echo "Let's try this from the right directory..."
-	@echo ""
-	@cd ../; make
-
-modegg: $(OBJS) $(XREQ)
-	@echo ""
-	@echo "Linking eggdrop..."
-	@echo ""
-	$(LD) -o ../$(EGGEXEC) $(OBJS) $(XLIBS)
-	$(STRIP) ../$(EGGEXEC)
-	@echo "Successful compile: $(EGGEXEC)"
-	@echo ""
-
-static: $(OBJS) $(XREQ)
-	@echo ""
-	@echo "Linking eggdrop... (static version)"
-	@echo ""
-	$(LD) -o ../$(EGGEXEC) $(OBJS) mod/*.o $(XLIBS)
-	$(STRIP) ../$(EGGEXEC)
-	@echo "Successful compile: $(EGGEXEC)"
-	@echo ""
-
-memegg: $(OBJS) $(XREQ)
-	@echo ""
-	@echo "Linking eggdrop... (debug versrion)"
-	@echo ""
-	$(LD) -g -o ../$(EGGEXEC) $(OBJS) $(XLIBS)
-	@echo "Successful compile: $(EGGEXEC)"
-	@echo ""
-
-sdebug: $(OBJS) $(XREQ)
-	@echo ""
-	@echo "Linking eggdrop... (static and debug version)"
-	@echo ""
-	$(LD) -g -o ../$(EGGEXEC) $(OBJS) mod/*.o $(XLIBS)
-	@echo "Successful compile: $(EGGEXEC)"
-	@echo ""
-
-clean:
-	@rm -f *.o *.a *~
-
-botcmd.o:
-	@echo "(This will take a while. Go make a pizza or something.)"
-	$(CC) $(CFLAGS) $(CPPFLAGS) -c botcmd.c
-
-main.o:
-	$(CC) $(CFLAGS) $(CPPFLAGS) \
-	'-DCCFLAGS="$(CC) $(CFLAGS) $(CPPFLAGS)"' \
-	'-DLDFLAGS="$(LD)"' \
-	'-DSTRIPFLAGS="$(STRIP)"' -c main.c
-
-md5/md5c.o:
-	@cd md5; $(MAKE) 'MAKE=$(MAKE)' 'CC=$(CC)' 'LD=$(LD)' \
-	'STRIP=$(STRIP)' 'CFLAGS=$(CFLAGS)' md5
-	@echo "---------- Yeah! that's the compiling, now the linking! ----------"
-
-libtcle.a: $(TCLLIB)/lib$(TCLLIBFN)
-	@echo "[ Fixing lib$(TCLLIBFN) -> libtcle.a ]"
-	cp $(TCLLIB)/lib$(TCLLIBFN) ./libtcle.a
-	chmod u+rw libtcle.a
-	ar d ./libtcle.a tclMain.o
-	$(RANLIB) ./libtcle.a
-
-eggdrop.h:
-	@echo "You do not have the eggdrop source!"
-	@exit 1
-
-.SUFFIXES:
-.SUFFIXES: .c .h .o .a
-
-.c.o:
-	$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
-
-botcmd.o: chan.h main.h modules.h tandem.h users.h
-botmsg.o: main.h tandem.h
-botnet.o: main.h tandem.h
-chanprog.o: main.h modules.h
-cmds.o: main.h modules.h tandem.h
-dcc.o: main.h md5/global.h md5/md5.h modules.h tandem.h
-dccutil.o: chan.h main.h modules.h tandem.h
-flags.o: main.h
-language.o: main.h
-main.o: chan.h main.h modules.h patch.h tandem.h
-mem.o: mod/modvals.h
-misc.o: chan.h main.h
-modules.o: main.h modules.h tandem.h users.h
-net.o: main.h
-rfc1459.o: main.h
-tcl.o: main.h
-tcldcc.o: main.h modules.h tandem.h
-tclhash.o: chan.h main.h match.c users.h
-tclmisc.o: main.h modules.h tandem.h
-tcluser.o: chan.h main.h tandem.h users.h
-userent.o: main.h users.h
-userrec.o: chan.h main.h modules.h tandem.h users.h
-users.o: chan.h main.h modules.h tandem.h users.h
-main.h: ../config.h chan.h cmdt.h eggdrop.h flags.h lang.h \
-	 proto.h tclegg.h tclhash.h users.h
-modules.h: mod/modvals.h
-proto.h: ../lush.h
-tclegg.h: ../lush.h proto.h
-
-#safety hash
diff -urNPX ../exclude ../eggdrop1.3.cvs/src/Makefile.in ./src/Makefile.in
--- ../eggdrop1.3.cvs/src/Makefile.in	Wed Dec 31 18:00:00 1969
+++ ./src/Makefile.in	Fri Oct 15 11:46:59 1999
@@ -0,0 +1,117 @@
+# Makefile for src/
+
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+
+OBJS = botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o \
+	dccutil.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
+
+doofus:
+	@echo ""
+	@echo "Let's try this from the right directory..."
+	@echo ""
+	@cd ../; make
+
+modegg: $(OBJS) $(XREQ)
+	@echo ""
+	@echo "Linking eggdrop..."
+	@echo ""
+	$(LD) -o ../$(EGGEXEC) $(OBJS) $(XLIBS)
+	$(STRIP) ../$(EGGEXEC)
+	@echo "Successful compile: $(EGGEXEC)"
+	@echo ""
+
+static: $(OBJS) $(XREQ)
+	@echo ""
+	@echo "Linking eggdrop... (static version)"
+	@echo ""
+	$(LD) -o ../$(EGGEXEC) $(OBJS) mod/*.o $(XLIBS)
+	$(STRIP) ../$(EGGEXEC)
+	@echo "Successful compile: $(EGGEXEC)"
+	@echo ""
+
+memegg: $(OBJS) $(XREQ)
+	@echo ""
+	@echo "Linking eggdrop... (debug versrion)"
+	@echo ""
+	$(LD) -g -o ../$(EGGEXEC) $(OBJS) $(XLIBS)
+	@echo "Successful compile: $(EGGEXEC)"
+	@echo ""
+
+sdebug: $(OBJS) $(XREQ)
+	@echo ""
+	@echo "Linking eggdrop... (static and debug version)"
+	@echo ""
+	$(LD) -g -o ../$(EGGEXEC) $(OBJS) mod/*.o $(XLIBS)
+	@echo "Successful compile: $(EGGEXEC)"
+	@echo ""
+
+clean:
+	@rm -f *.o *.a *~
+
+botcmd.o:
+	@echo "(This will take a while. Go make a pizza or something.)"
+	$(CC) $(CFLAGS) $(CPPFLAGS) -c botcmd.c
+
+main.o:
+	$(CC) $(CFLAGS) $(CPPFLAGS) \
+	'-DCCFLAGS="$(CC) $(CFLAGS) $(CPPFLAGS)"' \
+	'-DLDFLAGS="$(LD)"' \
+	'-DSTRIPFLAGS="$(STRIP)"' -c main.c
+
+md5/md5c.o:
+	@cd md5; $(MAKE) 'MAKE=$(MAKE)' 'CC=$(CC)' 'LD=$(LD)' \
+	'STRIP=$(STRIP)' 'CFLAGS=$(CFLAGS)' md5
+	@echo "---------- Yeah! that's the compiling, now the linking! ----------"
+
+libtcle.a: $(TCLLIB)/lib$(TCLLIBFN)
+	@echo "[ Fixing lib$(TCLLIBFN) -> libtcle.a ]"
+	cp $(TCLLIB)/lib$(TCLLIBFN) ./libtcle.a
+	chmod u+rw libtcle.a
+	ar d ./libtcle.a tclMain.o
+	$(RANLIB) ./libtcle.a
+
+eggdrop.h:
+	@echo "You do not have the eggdrop source!"
+	@exit 1
+
+.SUFFIXES:
+.SUFFIXES: .c .h .o .a
+
+.c.o:
+	$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
+
+botcmd.o: chan.h main.h modules.h tandem.h users.h
+botmsg.o: main.h tandem.h
+botnet.o: main.h tandem.h
+chanprog.o: main.h modules.h
+cmds.o: main.h modules.h tandem.h
+dcc.o: main.h md5/global.h md5/md5.h modules.h tandem.h
+dccutil.o: chan.h main.h modules.h tandem.h
+flags.o: main.h
+language.o: main.h
+main.o: chan.h main.h modules.h patch.h tandem.h
+mem.o: mod/modvals.h
+misc.o: chan.h main.h
+modules.o: main.h modules.h tandem.h users.h
+net.o: main.h
+rfc1459.o: main.h
+tcl.o: main.h
+tcldcc.o: main.h modules.h tandem.h
+tclhash.o: chan.h main.h match.c users.h
+tclmisc.o: main.h modules.h tandem.h
+tcluser.o: chan.h main.h tandem.h users.h
+userent.o: main.h users.h
+userrec.o: chan.h main.h modules.h tandem.h users.h
+users.o: chan.h main.h modules.h tandem.h users.h
+main.h: ../config.h chan.h cmdt.h eggdrop.h flags.h lang.h \
+	 proto.h tclegg.h tclhash.h users.h
+modules.h: mod/modvals.h
+proto.h: ../lush.h
+tclegg.h: ../lush.h proto.h
+
+#safety hash
diff -urNPX ../exclude ../eggdrop1.3.cvs/src/mod/Makefile ./src/mod/Makefile
--- ../eggdrop1.3.cvs/src/mod/Makefile	Fri Oct 15 11:23:24 1999
+++ ./src/mod/Makefile	Wed Dec 31 18:00:00 1969
@@ -1,65 +0,0 @@
-# Makefile for src/mod/
-
-MAKE_MOD = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(CC)' 'LD=$(LD)' \
-'STRIP=$(STRIP)' 'CFLAGS=$(CFLAGS)' 
-
-doofus:
-	@echo ""
-	@echo "Let's try this from the right directory..."
-	@echo ""
-	@cd ../..; make
-
-clean:
-	@rm -f *.o *~ static.h
-	@for i in *.mod; do cd $$i; $(MAKE) 'MAKE=$(MAKE)' clean; cd ..; done
-
-modules:
-	@for i in *.mod; do cd $$i; $(MAKE_MOD) modules; cd ..; done
-
-static:
-	@./buildstatic
-	@for i in *.mod; do cd $$i; $(MAKE_MOD) static; cd ..; done
-
-install: install-language install-help
-
-install-language:
-	@if test ! "x`echo *.mod/language/*.lang`" = "x*.mod/language/*.lang"; then \
-		if test ! -d $(DEST)/language; then \
-			echo "Creating 'language' subdirectory."; \
-			$(INSTALL) -d $(DEST)/language; \
-		fi; \
-		for i in *.mod/language/*.lang; do \
-			$(INSTALL_DATA) $$i $(DEST)/language/; \
-		done; \
-	fi
-
-install-help:
-	@if test ! "x`echo *.mod/help/*.help`" = "x*.mod/help/*.help"; then \
-		if test ! -d $(DEST)/help; then \
-			echo "Creating 'help' subdirectory."; \
-			$(INSTALL) -d $(DEST)/help; \
-		fi; \
-		for i in *.mod/help/*.help; do \
-			$(INSTALL_DATA) $$i $(DEST)/help/; \
-		done; \
-	fi
-	@if test ! "x`echo *.mod/help/msg/*.help`" = "x*.mod/help/msg/*.help"; then \
-		if test ! -d $(DEST)/help/msg; then \
-			echo "Creating 'help/msg' subdirectory."; \
-			$(INSTALL) -d $(DEST)/help/msg; \
-		fi; \
-		for i in *.mod/help/msg/*.help; do \
-			$(INSTALL_DATA) $$i $(DEST)/help/msg/; \
-		done; \
-	fi
-	@if test ! "x`echo *.mod/help/set/*.help`" = "x*.mod/help/set/*.help"; then \
-		if test ! -d $(DEST)/help/set; then \
-			echo "Creating 'help/set' subdirectory."; \
-			$(INSTALL) -d $(DEST)/help/set; \
-		fi; \
-		for i in *.mod/help/set/*.help; do \
-			$(INSTALL_DATA) $$i $(DEST)/help/set/; \
-		done; \
-	fi
-
-#safety hash
diff -urNPX ../exclude ../eggdrop1.3.cvs/src/mod/Makefile.in ./src/mod/Makefile.in
--- ../eggdrop1.3.cvs/src/mod/Makefile.in	Wed Dec 31 18:00:00 1969
+++ ./src/mod/Makefile.in	Fri Oct 15 12:26:57 1999
@@ -0,0 +1,72 @@
+# Makefile for src/mod/
+
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+
+MAKE_MOD = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(CC)' 'LD=$(LD)' \
+'STRIP=$(STRIP)' 'CFLAGS=$(CFLAGS)' 
+
+doofus:
+	@echo ""
+	@echo "Let's try this from the right directory..."
+	@echo ""
+	@cd ../..; make
+
+clean:
+	@rm -f *.o *~ static.h
+	@for i in *.mod; do cd $$i; $(MAKE) 'MAKE=$(MAKE)' clean; cd ..; done
+
+modules:
+	@for i in *.mod; do cd $$i; $(MAKE_MOD) modules; cd ..; done
+
+static:
+	@./buildstatic
+	@for i in *.mod; do cd $$i; $(MAKE_MOD) static; cd ..; done
+
+install: install-help install-language
+
+install-help:
+	@echo "Copying module help files."
+	@if test ! "x`echo *.mod/help/*.help`" = "x*.mod/help/*.help"; then \
+		if test ! -d $(DEST)/help; then \
+			echo "Creating 'help' subdirectory."; \
+			$(INSTALL) -d $(DEST)/help; \
+		fi; \
+		for i in *.mod/help/*.help; do \
+			$(INSTALL_DATA) $$i $(DEST)/help/; \
+		done; \
+	fi
+	@if test ! "x`echo *.mod/help/msg/*.help`" = "x*.mod/help/msg/*.help"; then \
+		if test ! -d $(DEST)/help/msg; then \
+			echo "Creating 'help/msg' subdirectory."; \
+			$(INSTALL) -d $(DEST)/help/msg; \
+		fi; \
+		for i in *.mod/help/msg/*.help; do \
+			$(INSTALL_DATA) $$i $(DEST)/help/msg/; \
+		done; \
+	fi
+	@if test ! "x`echo *.mod/help/set/*.help`" = "x*.mod/help/set/*.help"; then \
+		if test ! -d $(DEST)/help/set; then \
+			echo "Creating 'help/set' subdirectory."; \
+			$(INSTALL) -d $(DEST)/help/set; \
+		fi; \
+		for i in *.mod/help/set/*.help; do \
+			$(INSTALL_DATA) $$i $(DEST)/help/set/; \
+		done; \
+	fi
+
+install-language:
+	@echo "Copying module language files."
+	@if test ! "x`echo *.mod/language/*.lang`" = "x*.mod/language/*.lang"; then \
+		if test ! -d $(DEST)/language; then \
+			echo "Creating 'language' subdirectory."; \
+			$(INSTALL) -d $(DEST)/language; \
+		fi; \
+		for i in *.mod/language/*.lang; do \
+			$(INSTALL_DATA) $$i $(DEST)/language/; \
+		done; \
+	fi
+
+#safety hash


More information about the Patches mailing list