aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.dist
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-05-20 01:25:36 +0000
committerJohn Gilmore <gnu@cygnus>1991-05-20 01:25:36 +0000
commitd6cbb709ae142333daa65000983b105f160059e8 (patch)
treed9512fe54e0de33398c4170d47a07cdcdbe3836e /gdb/Makefile.dist
parent918f653c3e9664b2fd534cf3eea1d53735750d52 (diff)
downloadgdb-d6cbb709ae142333daa65000983b105f160059e8.zip
gdb-d6cbb709ae142333daa65000983b105f160059e8.tar.gz
gdb-d6cbb709ae142333daa65000983b105f160059e8.tar.bz2
Final versions used to make gdb-3.95 release.
Diffstat (limited to 'gdb/Makefile.dist')
-rwxr-xr-xgdb/Makefile.dist25
1 files changed, 15 insertions, 10 deletions
diff --git a/gdb/Makefile.dist b/gdb/Makefile.dist
index b9f1fd2..7d79caf 100755
--- a/gdb/Makefile.dist
+++ b/gdb/Makefile.dist
@@ -202,18 +202,21 @@ POSSLIBS = $(POSSLIBS_MAINDIR)
TESTS = testbpt.c testfun.c testrec.c testreg.c testregs.c
-# tdesc-lib cannot be named simply tdesc, because if if it were GNU make
+# tdesc-lib cannot be named simply tdesc, because if it were, GNU make
# would try to make it from tdesc.c.
# tdesc-lib removed from the list due to Motorola copyrights...gnu@cygnus.com
OTHERS = Makefile.dist depend alldeps.mak Makefile.sdir \
createtags munch config.gdb config.status \
ChangeLog ChangeLog-3.x \
- README TODO TAGS WHATS.NEW \
+ README TODO TAGS WHATS.NEW Projects \
.gdbinit COPYING expread.tab.c \
- copying.c Projects Convex.notes copying.awk \
+ copying.c Convex.notes copying.awk \
saber.suppress standalone.c stuff.c kdb-start.c \
- putenv.c \
- hp-include # tests
+ putenv.c
+
+# Subdirectories of gdb, which should be included in their entirety in
+# gdb-xxx.tar.Z:
+TARDIRS = doc hp-include # tests
DEPFILES= ${TDEPFILES} ${XDEPFILES}
@@ -308,7 +311,8 @@ Makefile: $(Makefiles)
alldeps.mak: ${srcdir}/tconfig ${srcdir}/xconfig
rm -f alldeps.mak alldeps.tmp allparam.tmp allconfig.tmp
for i in `ls -d ${srcdir}/tconfig/*[0-9A-Za-z] \
- ${srcdir}/xconfig/*[0-9A-Za-z] | grep -v RCS` ; do \
+ ${srcdir}/xconfig/*[0-9A-Za-z] | \
+ grep -v RCS | grep -v CVS.adm | grep -v SCCS` ; do \
echo $$i >>allconfig.tmp; \
awk <$$i ' \
$$1 == "TDEPFILES=" || $$1 == "XDEPFILES=" { \
@@ -405,13 +409,14 @@ TAGS: ${TAGFILES}
tags: TAGS
# FIXME: Get alldeps.mak up to date, config.gdb none, THEN make gdb.tar.Z!
-gdb.tar.Z: ${TARFILES}
+gdb.tar.Z: ${TARFILES} ${TARDIRS}
rm -f gdb.tar; rm -rf $(DIST)
mkdir $(DIST)
cd $(DIST) ; for i in ${TARFILES} ; do ln -s ../$$i . ; done
- mkdir doc
- cd doc; for i in ../doc/*.tex* ../doc/*.m4; \
- do ln -s $$i . ; done
+ cd $(DIST); for i in ${TARDIRS}; do \
+ (mkdir $$i; cd $$i; \
+ ln -s ../../$$i/* .; \
+ rm -rf SCCS CVS.adm RCS); done
mkdir $(DIST)/xconfig ${DIST}/tconfig
cd $(DIST)/tconfig ; \
for i in $(ALLCONFIG) ; do ln -s ../../$$i ../$$i ; done