summaryrefslogtreecommitdiff
path: root/Make-dist
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1992-07-28 21:58:21 +0000
committerRoland McGrath <roland@gnu.org>1992-07-28 21:58:21 +0000
commit6efe95cddb3b65659eb0dbd50bdfe16ba7aa6149 (patch)
tree2fb6b4a6d181b4606ab09048114635a4fa05e0e1 /Make-dist
parent0dcd12b13caac7112cd45f3e1dc968325f4efc92 (diff)
Formerly ../Make-dist.~40~
Diffstat (limited to 'Make-dist')
-rw-r--r--Make-dist8
1 files changed, 6 insertions, 2 deletions
diff --git a/Make-dist b/Make-dist
index 2832a0dd4a..caaa9cefb3 100644
--- a/Make-dist
+++ b/Make-dist
@@ -137,9 +137,13 @@ subdirs := $(filter-out crypt,$(subdirs))
.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 crypt.tar.Z
+dist: dist.tar subdir_dist de-.. dist.tar.Z \
+ $(tardir).tar.Z $(tardir)-crypt.tar.Z
-crypt.tar.Z: crypt/crypt.tar.Z
+$(tardir).tar.Z: dist.tar.Z
+ ln $< $@
+
+$(tardir)-crypt.tar.Z: crypt/crypt.tar.Z
ln $< $@
crypt/%:
$(MAKE) -C $(@D) $(@F)