[Libguestfs] [PATCH 4/3] build: exclude common/mlv2v from distcheck

Pino Toscano ptoscano at redhat.com
Tue Dec 17 15:32:42 UTC 2019


It is part of the common submodule but not used in libguestfs, so it is
not included in distribution tarballs.
---
 Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 1def6e0a3..d3cf64cc1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -580,6 +580,7 @@ maintainer-check-extra-dist:
 	( git ls-files ; \
 	  cd common; git ls-files | sed 's,^,common/,' ) | \
 	  grep -v '^common$$' | \
+	  grep -v '^common/mlv2v/' | \
 	  grep -v '^intltool-.*\.in' | \
 	  grep -v '^\.gitmodules' | \
 	  grep -v '^\.gnulib' | \
@@ -589,7 +590,7 @@ maintainer-check-extra-dist:
 	cat tmp/comm-out
 	[ ! -s tmp/comm-out ]
 	@echo Checking for generated files missing from the tarball ...
-	@for f in `cat generator/files-generated.txt`; do \
+	@for f in `cat generator/files-generated.txt | grep -v '^common/mlv2v/'`; do \
 	  if ! grep -sq "^$$f\$$" tmp/tarfiles; then \
 	    echo generated file missing from tarball: $$f; \
 	    exit 1; \
-- 
2.23.0




More information about the Libguestfs mailing list