mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
build: Remove gnulib.
As part of our efforts to clean up and simplify libguestfs, removing gnulib deletes a large dependency that we mostly no longer use and causes problems for new users trying to build the library from source. A few modules from gnulib are still used (under a compatible license) and these are copied into gnulib/lib/
This commit is contained in:
15
Makefile.am
15
Makefile.am
@@ -26,13 +26,8 @@ SUBDIRS = common/mlstdutils generator
|
||||
# tests run.
|
||||
SUBDIRS += test-data
|
||||
|
||||
# Gnulib - must be built and tested before the library.
|
||||
SUBDIRS += gnulib/lib
|
||||
if ENABLE_GNULIB_TESTS
|
||||
SUBDIRS += gnulib/tests
|
||||
endif
|
||||
|
||||
# Basic source for the library.
|
||||
SUBDIRS += gnulib/lib
|
||||
SUBDIRS += common/errnostring common/protocol common/qemuopts
|
||||
SUBDIRS += common/utils
|
||||
SUBDIRS += common/structs
|
||||
@@ -126,12 +121,9 @@ EXTRA_DIST = \
|
||||
.gitignore \
|
||||
.lvimrc \
|
||||
.mailmap \
|
||||
bootstrap \
|
||||
bugs-in-changelog.sh \
|
||||
autogen.sh \
|
||||
bindtests \
|
||||
build-aux/config.rpath \
|
||||
cfg.mk \
|
||||
check-mli.sh \
|
||||
common/.gitignore \
|
||||
common/README \
|
||||
@@ -234,7 +226,7 @@ BUGS: configure.ac
|
||||
docs/C_SOURCE_FILES: configure.ac
|
||||
rm -f $@ $@-t
|
||||
find $(DIST_SUBDIRS) -name '*.[ch]' | \
|
||||
grep -v -E '^(builder/index-parse\.|builder/index-scan\.|examples/|gnulib/|gobject/|java/com_redhat_et_libguestfs|perl/|php/extension/config\.h|ruby/ext/guestfs/extconf\.h|tests/|test-data/|bundled/)' | \
|
||||
grep -v -E '^(builder/index-parse\.|builder/index-scan\.|examples/|gobject/|java/com_redhat_et_libguestfs|perl/|php/extension/config\.h|ruby/ext/guestfs/extconf\.h|tests/|test-data/|bundled/)' | \
|
||||
grep -v -E '/(guestfs|rc)_protocol\.' | \
|
||||
grep -v -E '.*/errnostring\.' | \
|
||||
grep -v -E '.*-gperf\.' | \
|
||||
@@ -247,7 +239,7 @@ po/POTFILES: configure.ac
|
||||
rm -f $@ $@-t
|
||||
cd $(srcdir); \
|
||||
find $(DIST_SUBDIRS) -name '*.c' | \
|
||||
grep -v -E '^(examples|gnulib|perl/(blib|examples)|po-docs|tests|test-data|bundled)/' | \
|
||||
grep -v -E '^(examples|perl/(blib|examples)|po-docs|tests|test-data|bundled)/' | \
|
||||
grep -v -E '/((guestfs|rc)_protocol\.c|dummy\.c)$$' | \
|
||||
grep -v -E '^python/utils\.c$$' | \
|
||||
grep -v -E '^perl/lib/Sys/Guestfs\.c$$' | \
|
||||
@@ -490,7 +482,6 @@ maintainer-check-extra-dist:
|
||||
grep -v '^common/mlxml/' | \
|
||||
grep -v '^intltool-.*\.in' | \
|
||||
grep -v '^\.gitmodules' | \
|
||||
grep -v '^\.gnulib' | \
|
||||
sort > tmp/gitfiles
|
||||
comm -13 tmp/tarfiles tmp/gitfiles > tmp/comm-out
|
||||
@echo Checking for differences between EXTRA_DIST and git ...
|
||||
|
||||
Reference in New Issue
Block a user