Commits

Anonymous committed 13bd15e

2000-06-04 Andreas Jaeger <aj@suse.de>

* Makefile: Move includes to the front and add new target all as
first target.

* Local.rules.template (XEMACS): Use xemacs instead of a system
specific path.

* Local.rules.mk (___): Really create Local.rules if it doesn't exist.

  • Participants
  • Parent commits 6888c7f

Comments (0)

Files changed (4)

+2000-06-04  Andreas Jaeger  <aj@suse.de>
+
+	* Makefile: Move includes to the front and add new target all as
+	first target.
+
+	* Local.rules.template (XEMACS): Use xemacs instead of a system
+	specific path.
+
+	* Local.rules.mk (___): Really create Local.rules if it doesn't exist.
+
 2000-05-23  Karl M. Hegbloom  <karlheg@debian.org>
 
 	* Local.rules.template, Local.rules.mk: New files.
 
 1998-10-15  Greg Klanderman  <greg@alphatech.com>
 
-	* hack-package-index.el (batch-hack-package-index): update for new 
+	* hack-package-index.el (batch-hack-package-index): update for new
 	package index file format.
 
 1998-10-13  SL Baur  <steve@altair.xemacs.org>
 	* XEmacs.rules (binkit-common): New rule.  Obsoletes the
 	individual binkit-* rules.
 	- Add support for installing files in lib-src.
-	
+
 1998-10-01  SL Baur  <steve@altair.xemacs.org>
 
 	* XEmacs.rules (SOURCE_FILES_TO_COPY): Add _pkg.el.
 	* os/Makefile: Ditto.
 	* oa/Makefile: Ditto.
 	* mule/Makefile: Ditto.
-	
+
 	* XEmacs.rules (RCOPY): Parameterize recursive copy command.
 	(package-info): Update to package standard 1.0.
 
 
 1998-01-11  SL Baur  <steve@altair.xemacs.org>
 
-	* XEmacs.rules: Explicitly load autoloads from dependent 
+	* XEmacs.rules: Explicitly load autoloads from dependent
 	packages.
 	Move srckit/binkit dependencies here.
 	Add REQUIRES variable.
 	Move the *clean: dependencies here.
 
 	* package-compile.el: New file.
-

File Local.rules.mk

 
 ${XEMACS_PACKAGES_BASE}/Local.rules : ${XEMACS_PACKAGES_BASE}/Local.rules.template
 ifneq (${___},exists)
-	cp -p $< $@
+	command := $(shell cp -p $< $@)
 	$(error You must edit "$(notdir $@)" and customize it for this build host.)
 else
-	diff -u $@ $<
 	$(error "$(notdir $<)" has been updated or is newer than "$(notdir $@)".  Merge the changes into your "$(notdir $@)".)
 endif

File Local.rules.template

 
 # Path to XEmacs to use for byte compilation.
 #
-XEMACS = ${XEMACS_PACKAGES_BASE}/../xemacs/src/xemacs
+XEMACS = xemacs
 
 # See: Makefile and XEmacs.rules to see how $(XEMACS_STAGING),
 # $(MULE_STAGING), and $(STAGING) are used.
 # Use a Local.rules file to specify what you wish to have installed
 XEMACS_PACKAGES_BASE := $(shell pwd)
 
+
+all:: all-bytecompile
+
+include Local.rules.mk
+-include Local.rules
+
 ifeq ($(BUILD_WITHOUT_MULE),)
 SUBDIRS += mule
 endif
 
-all:
+all-bytecompile:
 	for dir in $(SUBDIRS); do \
 		$(MAKE) $(MFLAGS) -C $${dir} autoloads; \
 	done
 		$(MAKE) $(MFLAGS) -C $${dir} bytecompile; \
 	done
 
-include Local.rules.mk
--include Local.rules
 
-.PHONY: all bindist clean distclean install autoloads
+.PHONY: all all-bytecompile bindist clean distclean install autoloads
 
 autoloads:
 	for dir in $(SUBDIRS); do \