changeset 21923:58f3869d37d5

(TAGS-LISP): New target. (${lispsource}TAGS): Target deleted. (tags): Depend on TAGS-LISP. (TAGS): Generate the TAGS file in the build dir. (lisptagsfiles): Variable deleted. (shortnamesdir, cppdir): Vars deleted. (shortnames): Target deleted. (temacs): Don't use $(SHORT). (SHORT): Var deleted.
author Richard M. Stallman <rms@gnu.org>
date Sun, 03 May 1998 08:24:10 +0000
parents 714591991067
children e37aa6f8f583
files src/Makefile.in
diffstat 1 files changed, 9 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/src/Makefile.in	Sun May 03 07:34:07 1998 +0000
+++ b/src/Makefile.in	Sun May 03 08:24:10 1998 +0000
@@ -37,8 +37,6 @@
 lispsource = ${srcdir}/$(dot)$(dot)/lisp/
 libsrc = $(dot)$(dot)/lib-src/
 etc = $(dot)$(dot)/etc/
-shortnamesdir = $(dot)$(dot)/shortnames/
-cppdir = $(dot)$(dot)/cpp/
 oldXMenudir = $(dot)$(dot)/oldXMenu/
 lwlibdir = $(dot)$(dot)/lwlib/
 
@@ -254,10 +252,6 @@
 LOCALCPP= localcpp
 #endif /* ! defined (LONGNAMEBBBARFOOX) */
 
-#ifdef SHORTNAMES
-SHORT= shortnames
-#endif
-
 #ifdef USE_X_TOOLKIT
 #define USE_@X_TOOLKIT_TYPE@
 TOOLKIT_DEFINES = -DUSE_@X_TOOLKIT_TYPE@
@@ -845,7 +839,7 @@
 #define MAKE_PARALLEL
 #endif
 
-temacs: MAKE_PARALLEL $(LOCALCPP) $(SHORT) $(STARTFILES) stamp-oldxmenu ${obj} ${otherobj} OBJECTS_SYSTEM OBJECTS_MACHINE prefix-args
+temacs: MAKE_PARALLEL $(LOCALCPP) $(STARTFILES) stamp-oldxmenu ${obj} ${otherobj} OBJECTS_SYSTEM OBJECTS_MACHINE prefix-args
 	$(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${ALL_LDFLAGS}) \
     -o temacs ${STARTFILES} ${obj} ${otherobj}  \
     OBJECTS_SYSTEM OBJECTS_MACHINE ${LIBES}
@@ -875,11 +869,6 @@
 CPP = $(CC) -E
 #endif /* ! defined (NEED_CPP) */
 
-#ifdef SHORTNAMES
-shortnames:
-	cd ${shortnamesdir}; ${MAKE} ${MFLAGS}
-#endif
-
 /* Don't lose if this was not defined.  */
 #ifndef OLDXMENU_OPTIONS
 #define OLDXMENU_OPTIONS
@@ -1168,16 +1157,15 @@
 	chmod -w $(SOURCES)
 	chmod +w paths.h
 
-/* Arrange to make a tags table in ../lisp, and another in this dir
-   which includes ../lisp/TAGS by reference.  */
+/* Arrange to make a tags table TAGS-LISP for ../lisp,
+   plus TAGS for the C files, which includes ../lisp/TAGS by reference.  */
 ctagsfiles = [a-zA-Z]*.[hc]
-lisptagsfiles = ../lisp/[a-zA-Z]*.el
 TAGS: $(srcdir)/$(ctagsfiles)
-	export DIR; DIR=`pwd`; cd ${srcdir}; \
-	$$DIR/../lib-src/etags --include=../lisp/TAGS \
+	../lib-src/etags --include=TAGS-LISP \
 	--regex='/[ 	]*DEFVAR_[A-Z_ 	(]+"\([^"]+\)"/' $(ctagsfiles)
-${lispsource}TAGS: ${lispsource}$(lisptagsfiles)
-	export DIR; DIR=`pwd`; cd ${lispsource}; \
-	$(MAKE) TAGS ETAGS=$$DIR/../lib-src/etags
-tags: TAGS ${lispsource}TAGS
+frc:
+TAGS-LISP: frc
+	$(MAKE) -f ${lispsource}Makefile TAGS-LISP ETAGS=../lib-src/etags \
+	    lispsource=${lispsource}
+tags: TAGS TAGS-LISP
 .PHONY: tags