diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2019-09-11 17:01:31 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2019-09-11 17:01:31 +0000 |
commit | 1b0711bd7f61cab25a043993a7d0f2b7aaf26332 (patch) | |
tree | 905af8e97f28ca125721b6e82e712034661cd2d2 /lib | |
parent | 31e3dc2da35b1a3be0250d519831edce85b736f9 (diff) | |
download | src-1b0711bd7f61cab25a043993a7d0f2b7aaf26332.tar.gz src-1b0711bd7f61cab25a043993a7d0f2b7aaf26332.zip |
Avoid the use of the non-portable -D argument to ls.
This was used to store the mtime of the source file in a commment in a
generated header file. This is of little-to-no diagnostic value and
the result doesn't even end up in the source tree.
Reported by: arichardson
Reviewed by: arichardson
MFC after: 1 days
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D21605
Notes
Notes:
svn path=/head/; revision=352220
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libbsnmp/libbsnmp/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libbsnmp/libbsnmp/Makefile b/lib/libbsnmp/libbsnmp/Makefile index fa3204d77a14..94c72795a51c 100644 --- a/lib/libbsnmp/libbsnmp/Makefile +++ b/lib/libbsnmp/libbsnmp/Makefile @@ -26,9 +26,7 @@ MAN= asn1.3 bsnmpagent.3 bsnmpclient.3 bsnmplib.3 snmptc.h : tc.def (\ - echo -n "/* autogenerated from tc.def; ";\ - ls -l -D "%F %T" ${.ALLSRC} | awk '{printf("%s %s", $$6, $$7)}';\ - echo "*/";\ + echo "/* autogenerated from tc.def */";\ echo "#ifndef snmptc_h_1529923773";\ echo "#define snmptc_h_1529923773";\ gensnmptree -E -f <${.ALLSRC};\ |