[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
awk and the GNU makefile conventions
From: |
Paul Eggert |
Subject: |
awk and the GNU makefile conventions |
Date: |
Mon, 04 Dec 2006 14:40:42 -0800 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
The GNU makefile conventions have an example using 'gawk', but 'gawk'
is not on the list of programs that portable makefiles are allowed to
assume. Here is a proposed patch.
2006-12-04 Paul Eggert <address@hidden>
* make-stds.texi (Utilities in Makefiles): Add awk to the list
of compilers and related programs.
(Install Command Categories): Use $(AWK) rather than gawk, so
that the example conforms to the makefile coding standards.
*** make-stds.texi 19 Aug 2006 17:48:02 -0000 1.13
--- make-stds.texi 4 Dec 2006 22:38:15 -0000
*************** user can substitute alternatives. Here
*** 174,180 ****
mean:
@example
! ar bison cc flex install ld ldconfig lex
make makeinfo ranlib texi2dvi yacc
@end example
--- 174,180 ----
mean:
@example
! ar awk bison cc flex install ld ldconfig lex
make makeinfo ranlib texi2dvi yacc
@end example
*************** make -s -n install -o all \
*** 1122,1128 ****
PRE_INSTALL=pre-install \
POST_INSTALL=post-install \
NORMAL_INSTALL=normal-install \
! | gawk -f pre-install.awk
@end smallexample
@noindent
--- 1122,1128 ----
PRE_INSTALL=pre-install \
POST_INSTALL=post-install \
NORMAL_INSTALL=normal-install \
! | $(AWK) -f pre-install.awk
@end smallexample
@noindent
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- awk and the GNU makefile conventions,
Paul Eggert <=