aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2012-09-16 11:49:00 -0700
committerGlenn Morris2012-09-16 11:49:00 -0700
commit83da1b5565d518aa02984bf2f474c56eb61f41ef (patch)
tree5a912cbf397765da7c1a2325b5b2aa7325edb174 /src
parent40d70ecb6d11f87363b500db5665d8b433278687 (diff)
downloademacs-83da1b5565d518aa02984bf2f474c56eb61f41ef.tar.gz
emacs-83da1b5565d518aa02984bf2f474c56eb61f41ef.zip
Increase compartmentalization of Nextstep builds rules,
and store Emacs version number in fewer versioned files. * configure.ac (ns_appsrc): Use relative names. (ns_frag): Remove. (Info-gnustep.plist, Emacs.desktop, Info.plist, InfoPlist.strings) (nextstep/Makefile): Generate these nextstep files. (SUBDIR_MAKEFILES): Add nextstep. * Makefile.in (clean, distclean, bootstrap-clean): Add nextstep. * make-dist (nextstep/templates): Add directory. (nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj): Remove. (nextstep/Cocoa/Emacs.base/Contents) (nextstep/GNUstep/Emacs.base/Resources): Update contents. * .bzrignore: Add some nextstep files. * admin/admin.el (set-version): No more need to set nextstep versions. (set-copyright): Update for moved nextstep files. * nextstep/Makefile.in: New file. * nextstep/templates: New directory. * nextstep/templates/Emacs.desktop.in, nextstep/templates/Info-gnustep.plist.in: * nextstep/templates/Info.plist.in, nextstep/templates/InfoPlist.strings.in: Move here from various Cocoa/, GNUstep/ locations. Let configure set the version number. * nextstep/Cocoa/Emacs.base/Contents/Info.plist: * nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings: * nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist: * nextstep/GNUstep/Emacs.base/Resources/Emacs.desktop: Move to templates/. * nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj: Remove directory. * src/Makefile.in (ns_appdir, ns_appbindir, ns_appsrc): Remove variables. (ns_frag): Remove. (ns-app): Move here from ns.mk, and simplify. (clean): Simplify nextstep entry. * src/ns.mk: Remove file.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog10
-rw-r--r--src/Makefile.in10
-rw-r--r--src/ns.mk39
3 files changed, 13 insertions, 46 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index be734134adf..e322406a0e6 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,4 +1,12 @@
12012-09-17 Kenichi Handa <handa@gnu.org> 12012-09-16 Glenn Morris <rgm@gnu.org>
2
3 * Makefile.in (ns_appdir, ns_appbindir, ns_appsrc): Remove variables.
4 (ns_frag): Remove.
5 (ns-app): Move here from ns.mk, and simplify.
6 (clean): Simplify nextstep entry.
7 * ns.mk: Remove file.
8
92012-09-16 Kenichi Handa <handa@gnu.org>
2 10
3 * font.c (Ffont_shape_gstring): Fix previous change; GLYPHs may 11 * font.c (Ffont_shape_gstring): Fix previous change; GLYPHs may
4 not covert the last few charactes. 12 not covert the last few charactes.
diff --git a/src/Makefile.in b/src/Makefile.in
index fe4cff5d8cc..5c16b93803e 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -255,9 +255,6 @@ MSDOS_OBJ =
255## w16select.o termcap.o if MSDOS && HAVE_X_WINDOWS. 255## w16select.o termcap.o if MSDOS && HAVE_X_WINDOWS.
256MSDOS_X_OBJ = 256MSDOS_X_OBJ =
257 257
258ns_appdir=@ns_appdir@
259ns_appbindir=@ns_appbindir@
260ns_appsrc=@ns_appsrc@
261NS_OBJ=@NS_OBJ@ 258NS_OBJ=@NS_OBJ@
262## nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o if HAVE_NS. 259## nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o if HAVE_NS.
263NS_OBJC_OBJ=@NS_OBJC_OBJ@ 260NS_OBJC_OBJ=@NS_OBJC_OBJ@
@@ -501,8 +498,9 @@ $(OLDXMENU): $(OLDXMENU_TARGET)
501doc.o: buildobj.h 498doc.o: buildobj.h
502 499
503 500
504## If HAVE_NS, some ns-specific rules (for OTHER_FILES) are inserted here. 501ns-app: emacs$(EXEEXT)
505@ns_frag@ 502 cd ../nextstep && $(MAKE) $(MFLAGS) all
503
506 504
507.PHONY: mostlyclean clean bootstrap-clean distclean maintainer-clean 505.PHONY: mostlyclean clean bootstrap-clean distclean maintainer-clean
508.PHONY: versionclean extraclean frc 506.PHONY: versionclean extraclean frc
@@ -516,7 +514,7 @@ mostlyclean:
516clean: mostlyclean 514clean: mostlyclean
517 rm -f emacs-*.*.*$(EXEEXT) emacs$(EXEEXT) 515 rm -f emacs-*.*.*$(EXEEXT) emacs$(EXEEXT)
518 -rm -rf $(DEPDIR) 516 -rm -rf $(DEPDIR)
519 test "X$(ns_appdir)" = "X" || rm -rf $(ns_appdir) 517 -cd ../nextstep && $(MAKE) $(MFLAGS) clean
520 518
521## bootstrap-clean is used to clean up just before a bootstrap. 519## bootstrap-clean is used to clean up just before a bootstrap.
522## It should remove all files generated during a compilation/bootstrap, 520## It should remove all files generated during a compilation/bootstrap,
diff --git a/src/ns.mk b/src/ns.mk
deleted file mode 100644
index 77fbf5845d9..00000000000
--- a/src/ns.mk
+++ /dev/null
@@ -1,39 +0,0 @@
1### autodeps.mk --- src/Makefile fragment for GNU Emacs
2
3## Copyright (C) 2008-2012 Free Software Foundation, Inc.
4
5## This file is part of GNU Emacs.
6
7## GNU Emacs is free software: you can redistribute it and/or modify
8## it under the terms of the GNU General Public License as published by
9## the Free Software Foundation, either version 3 of the License, or
10## (at your option) any later version.
11##
12## GNU Emacs is distributed in the hope that it will be useful,
13## but WITHOUT ANY WARRANTY; without even the implied warranty of
14## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15## GNU General Public License for more details.
16##
17## You should have received a copy of the GNU General Public License
18## along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
19
20### Commentary:
21
22## This is inserted in src/Makefile if HAVE_NS.
23
24## The only reason this is in a separate file is because $ns_appdir,
25## which appears as a target, is empty on non-NS builds. Some makes
26## do not like empty targets, even if they are never used.
27
28${ns_appdir}: ${ns_appsrc}
29 rm -fr ${ns_appdir}
30 ${MKDIR_P} ${ns_appdir}
31 ( cd ${ns_appsrc} ; tar cfh - . ) | ( cd ${ns_appdir} ; umask 022; tar xf - )
32
33${ns_appbindir}/Emacs: emacs${EXEEXT}
34 ${MKDIR_P} ${ns_appbindir}
35 cp -f emacs${EXEEXT} ${ns_appbindir}/Emacs
36
37ns-app: ${ns_appdir} ${ns_appbindir}/Emacs
38
39### ns.mk ends here