]> arthur.barton.de Git - bup.git/commitdiff
build: fix C-side dependencies
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 5 Feb 2020 19:36:46 +0000 (20:36 +0100)
committerRob Browning <rlb@defaultvalue.org>
Sun, 1 Mar 2020 22:54:33 +0000 (16:54 -0600)
We need to depend on bupsplit.h, otherwise changes there
don't force a rebuild.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
Makefile
lib/bup/csetup.py

index ff67dcd984d884e35c59beab9e18876932037dd8..42cbbcd8b2142a662e64a0b5fcbc142663e1dabe 100644 (file)
--- 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 && \
index 1cebf76f211dce1c87a037566afc9fca115390d1..d46aac0ae422571a75dbbe52ae20178d5441a777 100644 (file)
@@ -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',