summaryrefslogtreecommitdiff
path: root/Make-dist
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1992-05-14 21:44:42 +0000
committerRoland McGrath <roland@gnu.org>1992-05-14 21:44:42 +0000
commit9e53bdcbfdc9ba1e68459afa450c82512b58bd4f (patch)
tree5c60e33afcdac393df1945e8019e7d64f1f17053 /Make-dist
parent376d0745b8720034956670db55ce0a05ab755a76 (diff)
Formerly ../Make-dist.~35~
Diffstat (limited to 'Make-dist')
-rw-r--r--Make-dist9
1 files changed, 8 insertions, 1 deletions
diff --git a/Make-dist b/Make-dist
index fa6a0f8d9d..7f94c919a9 100644
--- a/Make-dist
+++ b/Make-dist
@@ -125,6 +125,8 @@ endif
$(sysdep-Subdir-files)
foo:=$(shell echo '+sysdep-dist=$(+sysdep-dist)' >&2)
+subdirs := $(filter-out crypt,$(subdirs))
+
+sysdep-tsrcs := $(wildcard $(foreach file,Makefile Implies,\
$(addsuffix /$(file),$(sysdep_dirs)))) \
$(+sysdep-dist)
@@ -134,7 +136,12 @@ foo:=$(shell echo '+sysdep-dist=$(+sysdep-dist)' >&2)
.PHONY: dist
# N.B.: The order in which these are done matters (so don't use -j).
MAKEFLAGS = -j1 # I wonder if that works.
-dist: dist.tar subdir_dist de-.. dist.tar.Z
+dist: dist.tar subdir_dist de-.. dist.tar.Z crypt.tar.Z
+
+crypt.tar.Z: crypt/crypt.tar.Z
+ ln $< $@
+crypt/%:
+ $(MAKE) -C $(@D) $(@F)
dist.tar: $(tardir) $(+tsrcs)
tar ch$(verbose)f $@ $(addprefix $(tardir)/,$(filter-out $(tardir),$^))