Hi!
This is my first patch I created for emacs - so, be gentle...
This provides better test procedure when trying to build emacs from cvs
without bootstrap.
I hope you will like it.
Regards,
Marcin
? makefile.elc.test.diff
Index: Makefile.in
===================================================================
RCS file: /cvsroot/emacs/emacs/Makefile.in,v
retrieving revision 1.304
diff -c -r1.304 Makefile.in
*** Makefile.in 26 Jul 2005 21:43:11 -0000 1.304
--- Makefile.in 14 Sep 2005 14:30:31 -0000
***************
*** 742,754 ****
.PHONY: maybe_bootstrap
maybe_bootstrap:
! @bar="`echo $(srcdir)/lisp/*.elc`"; \
! if [ \( "$$bar" = '$(srcdir)/lisp/*.elc' \) -o \( "$$bar" = '' \) ]; then \
! echo "Your tree does not include the compiled Lisp files."; \
! echo "You need to do \`make bootstrap' to build Emacs."; \
! echo "Emacs now requires Texinfo version 4.2."; \
! exit 1;\
! fi
bootstrap: bootstrap-clean-before info bootstrap-build FRC
--- 742,748 ----
.PHONY: maybe_bootstrap
maybe_bootstrap:
! (cd src; $(MAKE) $(MFLAGS) bootstrap-maybe)
bootstrap: bootstrap-clean-before info bootstrap-build FRC
Index: src/Makefile.in
===================================================================
RCS file: /cvsroot/emacs/emacs/src/Makefile.in,v
retrieving revision 1.313
diff -c -r1.313 Makefile.in
*** src/Makefile.in 7 Aug 2005 12:33:16 -0000 1.313
--- src/Makefile.in 14 Sep 2005 14:30:37 -0000
***************
*** 1340,1345 ****
--- 1340,1355 ----
/* Bootstrapping. */
+ bootstrap-maybe:
+ @for file in ${lisp}; do \
+ if [ ! -f $$file ]; then \
+ echo "Your tree does not include the compiled Lisp file: $$file"; \
+ echo "You need to do \'make bootstrap' to build Emacs."; \
+ echo "Emacs now requires Texinfo version 4.2."; \
+ exit 1; \
+ fi; \
+ done
+
bootstrap: bootstrap-emacs${EXEEXT}
/* Dump an Emacs executable named bootstrap-emacs containing the
_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel