From: Johannes Berg Date: Wed, 5 Feb 2020 19:36:46 +0000 (+0100) Subject: build: fix C-side dependencies X-Git-Tag: 0.31~95 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=bup.git;a=commitdiff_plain;h=82d951a8589b8bd5a3e61b4d0a7b70e8ef6f6231 build: fix C-side dependencies We need to depend on bupsplit.h, otherwise changes there don't force a rebuild. Signed-off-by: Johannes Berg Reviewed-by: Rob Browning --- diff --git a/Makefile b/Makefile index ff67dcd..42cbbcd 100644 --- a/Makefile +++ b/Makefile @@ -120,7 +120,7 @@ install: all config/config.h: config/config.vars lib/bup/_helpers$(SOEXT): \ - config/config.h \ + config/config.h lib/bup/bupsplit.h \ lib/bup/bupsplit.c lib/bup/_helpers.c lib/bup/csetup.py @rm -f $@ cd lib/bup && \ diff --git a/lib/bup/csetup.py b/lib/bup/csetup.py index 1cebf76..d46aac0 100644 --- a/lib/bup/csetup.py +++ b/lib/bup/csetup.py @@ -5,7 +5,7 @@ from distutils.core import setup, Extension _helpers_mod = Extension('_helpers', sources=['_helpers.c', 'bupsplit.c'], - depends=['../../config/config.h']) + depends=['../../config/config.h', 'bupsplit.h']) setup(name='_helpers', version='0.1',