all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] my first patch for emacs
@ 2005-09-14 14:53 Marcin Antczak
  2005-09-16 12:59 ` Richard M. Stallman
  2005-09-25 20:49 ` Marcin Antczak
  0 siblings, 2 replies; 4+ messages in thread
From: Marcin Antczak @ 2005-09-14 14:53 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 205 bytes --]

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



[-- Attachment #2: makefile.elc.test.diff --]
[-- Type: text/x-patch, Size: 1751 bytes --]

? 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

[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-09-26  4:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-14 14:53 [PATCH] my first patch for emacs Marcin Antczak
2005-09-16 12:59 ` Richard M. Stallman
2005-09-25 20:49 ` Marcin Antczak
2005-09-26  4:49   ` Richard M. Stallman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.