Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: Re: dev-19 + latest patches: all Makefiles are rebuilt every time make is run



On Mar 3,  3:25pm, Andrej Borsenkow wrote:
} Subject: dev-19 + latest patches: all Makefiles are rebuilt every time mak
}
} That is, it rebuilds modules.index and reruns Makemod and recreates every
} Makefile in Src/** and recomples init.c (rebuilding zsh 'course) every time
} make is run.

My fault, sorry.

Index: Src/Makefile.in
===================================================================
RCS file: /extra/cvsroot/zsh/zsh-3.1/Src/Makefile.in,v
retrieving revision 1.20
diff -u -r1.20 Makefile.in
--- Makefile.in	2000/03/01 18:22:44	1.20
+++ Makefile.in	2000/03/03 16:20:08
@@ -131,7 +131,13 @@
 mymods.conf:
 	@echo Linking with the standard modules.
 
-modules-bltin: Makefile $(sdir)/xmods.conf mymods.conf
+modules-bltin:: mymods.conf
+	@if test -f mymods.conf; then \
+	    echo cat mymods.conf \> $@; \
+	    cat mymods.conf > $@; \
+	fi
+
+modules-bltin:: Makefile $(sdir)/xmods.conf
 	if test -f mymods.conf; then \
 	    cat mymods.conf > $@; \
 	elif test @D@ = N; then \

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



Messages sorted by: Reverse Date, Date, Thread, Author