[Libguestfs] [PATCH 7/7] python: stop bundling config.h in dist archives

Pino Toscano ptoscano at redhat.com
Thu Jan 9 17:37:50 UTC 2020


It is not needed anymore now.
---
 .gitignore         | 1 -
 python/MANIFEST.in | 1 -
 python/Makefile.am | 5 -----
 3 files changed, 7 deletions(-)

diff --git a/.gitignore b/.gitignore
index 1abb1c8b7..9b7cd85d2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -451,7 +451,6 @@ Makefile.in
 /python/actions.h
 /python/bindtests.py
 /python/build
-/python/config.h
 /python/dist
 /python/examples/guestfs-python.3
 /python/examples/stamp-guestfs-python.pod
diff --git a/python/MANIFEST.in b/python/MANIFEST.in
index 979f99233..f0081a5b5 100644
--- a/python/MANIFEST.in
+++ b/python/MANIFEST.in
@@ -16,5 +16,4 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 include actions.h
-include config.h
 include guestfs-stringlists-utils.h
diff --git a/python/Makefile.am b/python/Makefile.am
index b470d2df2..f0a4b55bd 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -97,14 +97,10 @@ setup-install: setup.py stamp-extra-files
 # Python's crappy MANIFEST file cannot graft single files, so we have
 # to hard-link any extra files we need into the local directory.
 stamp-extra-files: \
-	  config.h \
 	  guestfs-stringlists-utils.h \
 	  stringlists-utils.c
 	touch $@
 
-config.h:
-	ln ../config.h $@
-
 guestfs-stringlists-utils.h:
 	ln $(top_srcdir)/common/utils/guestfs-stringlists-utils.h $@
 
@@ -128,7 +124,6 @@ CLEANFILES += \
 	*.pyc \
 	examples/*~ examples/*.pyc \
 	t/*~ t/*.pyc \
-	config.h \
 	guestfs-stringlists-utils.h \
 	stamp-extra-files \
 	stringlists-utils.c
-- 
2.24.1




More information about the Libguestfs mailing list