about summary refs log tree commit diff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorAndrea Fioraldi <andreafioraldi@gmail.com>2020-09-01 12:36:13 +0200
committerAndrea Fioraldi <andreafioraldi@gmail.com>2020-09-01 12:36:13 +0200
commit75c38d6243bb9bcc0b55f27b4bd3844658eec1b4 (patch)
tree8f3f74df972214af684710dc3a5e99e4000d1d4b /GNUmakefile
parent6f751006027fe9ab3e3bd8b3c4f0f9ade310cefd (diff)
parent07cee6b7509fb253b281d895d8754b0a11951bc1 (diff)
downloadafl++-75c38d6243bb9bcc0b55f27b4bd3844658eec1b4.tar.gz
Merge branch 'dev' of github.com:vanhauser-thc/AFLplusplus into dev
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 1ccb2bb0..e1f6da95 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -530,7 +530,7 @@ clean:
 	$(MAKE) -C qemu_mode/libcompcov clean
 	rm -rf qemu_mode/qemu-3.1.1
 ifeq "$(IN_REPO)" "1"
-	test -d unicorn_mode/unicornafl && $(MAKE) -C unicorn_mode/unicornafl clean || true
+	test -e unicorn_mode/unicornafl/Makefile && $(MAKE) -C unicorn_mode/unicornafl clean || true
 else
 	rm -rf qemu_mode/qemu-3.1.1.tar.xz
 	rm -rf unicorn_mode/unicornafl
@@ -573,7 +573,7 @@ source-only: all
 %.8:	%
 	@echo .TH $* 8 $(BUILD_DATE) "afl++" > $@
 	@echo .SH NAME >> $@
-	@echo -n ".B $* \- " >> $@
+	@printf "%s" ".B $* \- " >> $@
 	@./$* -h 2>&1 | head -n 1 | sed -e "s/$$(printf '\e')[^m]*m//g" >> $@
 	@echo >> $@
 	@echo .SH SYNOPSIS >> $@