[Pkg-libvirt-commits] [libguestfs] 77/266: build: manually drop flex-/bison-generated files from dist
Hilko Bengen
bengen at moszumanska.debian.org
Fri Oct 3 14:41:44 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag debian/1%1.27.35-1
in repository libguestfs.
commit 40fbd447ee2393d43549722f240fe356de31f210
Author: Pino Toscano <ptoscano at redhat.com>
Date: Wed Aug 13 16:43:19 2014 +0200
build: manually drop flex-/bison-generated files from dist
It seems that Automake cannot handle properly the files generated by
flex and bison, leaving them in the dist tarball.
For now, add a dist-hook to manually prune them from distdir.
---
builder/Makefile.am | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/builder/Makefile.am b/builder/Makefile.am
index 0b4acd7..6a5cb01 100644
--- a/builder/Makefile.am
+++ b/builder/Makefile.am
@@ -317,3 +317,8 @@ index-parser-c.c index-scan.c index-validate.c: index-parse.h
index-parse.h: index-parse.y
$(MAKE) index-parse.h
endif
+
+# Apparently there's no clean way with Automake to not have them
+# in the distribution, so just remove them from the distdir.
+dist-hook:
+ rm -f $(distdir)/index-parse.c $(distdir)/index-parse.h $(distdir)/index-scan.c
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list