From 9e53bdcbfdc9ba1e68459afa450c82512b58bd4f Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 14 May 1992 21:44:42 +0000 Subject: Formerly ../Make-dist.~35~ --- Make-dist | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Make-dist') 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),$^)) -- cgit v1.2.3