[eggheads-patches] PATCH: distrib-makefile.patch

Fabian Knittel fknittel at gmx.de
Tue Oct 5 15:07:01 CST 1999


[ distrib-makefile.patch ]

The patch replaces the "./configure ; make" command in the distributed
Makefile with a small warning message and description what to do.
This fixes the problem reported by mc and gives our users a bit more
knowledge of how everything works... oh well.. maybe it doesn't :)

Fabian


On Sun, Oct 03, 1999 at 10:09:38AM +0200, Rico mc Gloeckner wrote:
> hiya,
>
> i today tried to compile eggdrop 1.3.28, however of some reason tcl was
> missing... I was running ./configure, but didnt look after the output and
> ran make immediately... It was caught in an loop b'cos Makefile contained
>
> ./configure ; make
>
> As you can see, if ./configure cant produce the Makefile because it aborts
> with an error, and you call make, it will run ./configure and make
> again. A classic loop =P
>
> My Suggestion is to replace the line with some echo's pointing out that
> configure must be run first.
> Simple and clean Solution =P
-------------- next part --------------
diff -urN eggdrop1.3~/Makefile.in eggdrop1.3/Makefile.in
--- eggdrop1.3~/Makefile.in	Tue Oct  5 11:26:17 1999
+++ eggdrop1.3/Makefile.in	Tue Oct  5 16:18:11 1999
@@ -76,8 +76,12 @@
 
 distrib: distclean Makefile.in
 	@rm -rf `find . \( -name "CVS" \) -print`
-	@echo "all:" >Makefile
-	@echo "	@./configure; make" >>Makefile
+	@( echo "any:"; echo "	@echo \"\""; \
+	   echo "	@echo \"Before you can compile your bot you have to configure it.\""; \
+	   echo "	@echo \"So please start the configure script now:\""; \
+	   echo "	@echo \"\""; \
+	   echo "	@echo \" % ./configure\""; \
+	   echo "	@echo \"\""; ) > Makefile
 
 eggdrop: modegg modules
 
diff -urN eggdrop1.3~/doc/UPDATES1.3 eggdrop1.3/doc/UPDATES1.3
--- eggdrop1.3~/doc/UPDATES1.3	Tue Oct  5 14:52:03 1999
+++ eggdrop1.3/doc/UPDATES1.3	Tue Oct  5 16:26:26 1999
@@ -4,6 +4,8 @@
 
 1.3.29
 Foundby   Fixedby   What....
+mc	  Fabian    distributed Makefile now only issues a warning instead of
+		    automatically starting to configure and compile
 Ben	  Fabian    eggdrop.conf.dist now talks positively about allow-resync
 Beige	  Fabian    killsock() could accidently free unused socket entries
           Tothwolf/ fixed way we get version number for Tcl_PkgProvide()


More information about the Patches mailing list