summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2011-09-12 05:29:58 +0000
committerPaul Smith <psmith@gnu.org>2011-09-12 05:29:58 +0000
commita5c774a51b7bfa564e0e44bfc22213ac55abc562 (patch)
tree75b3f28061b9cb792899f5b28c0fd1567a6fac2a /doc
parent9a9f83e8b52a3923efc6b4cf8c8f444773a30953 (diff)
downloadgunmake-a5c774a51b7bfa564e0e44bfc22213ac55abc562.tar.gz
Ensure variables defined in $(call ...) have global scope
Add a note about using #!/usr/bin/make -f to the manual. Clean up the w32 subdirectory in the dist tarball.
Diffstat (limited to 'doc')
-rw-r--r--doc/make.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/make.texi b/doc/make.texi
index 0bbeebb..02c7a68 100644
--- a/doc/make.texi
+++ b/doc/make.texi
@@ -11246,7 +11246,8 @@ sequential manner.
@appendix Complex Makefile Example
Here is the makefile for the GNU @code{tar} program. This is a
-moderately complex makefile.
+moderately complex makefile. The first line uses a @code{#!} setting
+to allow the makefile to be executed directly.
Because it is the first target, the default goal is @samp{all}. An
interesting feature of this makefile is that @file{testpad.h} is a
@@ -11282,6 +11283,7 @@ distribution kits.
@example
@group
+#!/usr/bin/make -f
# Generated automatically from Makefile.in by configure.
# Un*x Makefile for GNU tar program.
# Copyright (C) 1991 Free Software Foundation, Inc.