[Forensics-changes] [yara] 02/05: Remove autogenerated files before running configure

Hilko Bengen bengen at moszumanska.debian.org
Wed Jul 5 17:04:24 UTC 2017


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch master
in repository yara.

commit 6eedc9ab4af8617bbcf46167b6c9e618d10b386c
Author: Hilko Bengen <bengen at debian.org>
Date:   Sat Jul 1 13:22:26 2017 +0200

    Remove autogenerated files before running configure
---
 debian/rules | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/debian/rules b/debian/rules
index aa16aa8..aa2ce71 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,16 +5,12 @@
 	dh $@  --with autoreconf,sphinxdoc
 
 override_dh_auto_configure:
+	rm -f \
+		libyara/*grammar.[ch] \
+		libyara/*lexer.[ch]
 	dh_auto_configure -- --enable-cuckoo --enable-magic
 
 override_dh_auto_build:
-	rm -f \
-		libyara/hex_grammar.c \
-		libyara/hex_grammar.h \
-		libyara/re_grammar.c \
-		libyara/re_grammar.h \
-		libyara/grammar.c \
-		libyara/grammar.h
 	dh_auto_build
 	$(MAKE) -C docs html
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git



More information about the forensics-changes mailing list