summaryrefslogtreecommitdiff
path: root/Rules
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1992-07-28 21:53:35 +0000
committerRoland McGrath <roland@gnu.org>1992-07-28 21:53:35 +0000
commitce4e69d91128465eca959cde4fe470c182b969c6 (patch)
tree7f3875e4bbad3fab0dc437ee57dace7854a7959a /Rules
parent83fd346901a00bc82f9935db2ce2e3a8bed67cd4 (diff)
Formerly ../Rules.~19~
Diffstat (limited to 'Rules')
-rw-r--r--Rules14
1 files changed, 5 insertions, 9 deletions
diff --git a/Rules b/Rules
index bac7c29de9..6ee58ae027 100644
--- a/Rules
+++ b/Rules
@@ -28,9 +28,7 @@ include ../Makeconfig
ifndef subdir
Each subdirectory makefile must define the `subdir' variable.
endif
-ifdef have_export_directive # kludge for GNU make before 3.63
-export subdir
-endif
+export subdir := $(subdir) # Benign, useless in GNU make before 3.63.
# This is the default target; it makes the library.
.PHONY: all
@@ -75,9 +73,8 @@ $(objpfx)%.out: $(objpfx)%
$(dir $<)$(notdir $<) > $@
endif # tests
-ifdef have_export_directive # kludge for GNU make before 3.63
-export others tests
-endif
+export others := $(others)
+export tests := $(tests)
# This removes everything that can be regenerated
# except for the object files and the object-file library members.
@@ -108,9 +105,8 @@ subdir_install: install
subdir_TAGS: TAGS
# Make the distribution tarfile for the parent makefile.
-ifdef have_export_directive # kludge for GNU make before 3.63
-export distribute dont_distribute
-endif
+export distribute := $(distribute)
+export dont_distribute := $(dont_distribute)
.PHONY: subdir_dist dist
subdir_dist: dist
dist: ../Make-dist