diff options
author | hexcoder- <heiko@hexco.de> | 2019-09-28 18:00:43 +0200 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2019-09-28 18:00:43 +0200 |
commit | edb33cba0c8992815685f101b81862c7c6ed891e (patch) | |
tree | 83f206d80909319f8404f5e6bb75d36189d1fe71 /llvm_mode | |
parent | 1d52e1f41b2d179e98aa48f94efcf8df27b2f791 (diff) | |
download | AFLplusplus-edb33cba0c8992815685f101b81862c7c6ed891e.tar.gz |
portability: FreeBSD does not know 'date -I', fix paths for man page
generation
Diffstat (limited to 'llvm_mode')
-rw-r--r-- | llvm_mode/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm_mode/Makefile b/llvm_mode/Makefile index 96aba898..a6adc807 100644 --- a/llvm_mode/Makefile +++ b/llvm_mode/Makefile @@ -208,16 +208,16 @@ all_done: test_build vpath % .. %.8: % - @echo .TH $* 8 `date -I` "afl++" > ../$@ + @echo .TH $* 8 `date "+%Y-%m-%d"` "afl++" > ../$@ @echo .SH NAME >> ../$@ @echo .B $* >> ../$@ @echo >> ../$@ @echo .SH SYNOPSIS >> ../$@ - @./$* -h 2>&1 | head -n 3 | tail -n 1 | sed 's/^\.\///' >> ../$@ + @../$* -h 2>&1 | head -n 3 | tail -n 1 | sed 's/^\.\///' >> ../$@ @echo >> ../$@ @echo .SH OPTIONS >> ../$@ @echo .nf >> ../$@ - @./$* -h 2>&1 | tail -n +4 >> ../$@ + @../$* -h 2>&1 | tail -n +4 >> ../$@ @echo >> ../$@ @echo .SH AUTHOR >> ../$@ @echo "afl++ was written by Michal \"lcamtuf\" Zalewski and is maintained by Marc \"van Hauser\" Heuse <mh@mh-sec.de>, Heiko \"hexc0der\" Eissfeldt <heiko.eissfeldt@hexco.de> and Andrea Fioraldi <andreafioraldi@gmail.com>" >> ../$@ |