Module Name:    src
Committed By:   rillig
Date:           Tue Feb 16 18:12:46 UTC 2021

Modified Files:
        src/usr.bin/make/unit-tests: directive-export.mk

Log Message:
make: clarify what .export ${:U} means


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/make/unit-tests/directive-export.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/make/unit-tests/directive-export.mk
diff -u src/usr.bin/make/unit-tests/directive-export.mk:1.6 src/usr.bin/make/unit-tests/directive-export.mk:1.7
--- src/usr.bin/make/unit-tests/directive-export.mk:1.6	Sun Dec 13 01:07:54 2020
+++ src/usr.bin/make/unit-tests/directive-export.mk	Tue Feb 16 18:12:46 2021
@@ -1,4 +1,4 @@
-# $NetBSD: directive-export.mk,v 1.6 2020/12/13 01:07:54 rillig Exp $
+# $NetBSD: directive-export.mk,v 1.7 2021/02/16 18:12:46 rillig Exp $
 #
 # Tests for the .export directive.
 #
@@ -28,8 +28,11 @@ VAR=		value $$ ${INDIRECT}
 .  error
 .endif
 
-# No argument means to export all variables.
+# No syntactical argument means to export all variables.
 .export
 
+# An empty argument means no additional variables to export.
+.export ${:U}
+
 all:
 	@:;

Reply via email to