[Libguestfs] [PATCH 1/3] build: perform gnulib check from source directory
Tomáš Golembiovský
tgolembi at redhat.com
Mon Jan 27 09:39:32 UTC 2020
Signed-off-by: Tomáš Golembiovský <tgolembi at redhat.com>
---
cfg.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/cfg.mk b/cfg.mk
index a303ee72..4bd2d006 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -132,6 +132,7 @@ ifeq (0,$(MAKELEVEL))
# b653eda3ac4864de205419d9f41eec267cb89eeb
_submodule_hash = sed 's/^[ +-]//;s/ .*//'
_update_required := $(shell \
+ cd $(top_srcdir); \
actual=$$(git submodule status | grep gnulib | $(_submodule_hash)); \
stamp="$$($(_submodule_hash) $(_curr_status) 2>/dev/null)"; \
test "$$stamp" = "$$actual"; echo $$?)
--
2.25.0
More information about the Libguestfs
mailing list