]> arthur.barton.de Git - bup.git/commitdiff
Fix python-cmd.sh generation and cleanup
authorRob Browning <rlb@defaultvalue.org>
Mon, 14 Dec 2015 18:59:14 +0000 (12:59 -0600)
committerRob Browning <rlb@defaultvalue.org>
Fri, 18 Dec 2015 18:55:08 +0000 (12:55 -0600)
Clean up cmd/python-cmd.sh, add config/configure.inc as a dependency,
and invoke ./configure, not config/configure (which would fail).

This was rarely observed because ./configure would normally be invoked
by other dependencies first.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
Makefile

index e49f80d992406a5746af0505d372e75b7d8e6e6d..c35abec7d87c671467805e90013b96353e13105f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -151,8 +151,8 @@ test: all
 
 check: test
 
-cmd/python-cmd.sh: config/configure
-       ./config/configure
+cmd/python-cmd.sh: config/configure config/configure.inc
+       ./configure
 
 cmds: \
     $(patsubst cmd/%-cmd.py,cmd/bup-%,$(wildcard cmd/*-cmd.py)) \
@@ -200,6 +200,7 @@ clean: Documentation/clean config/clean
                .*~ *~ */*~ lib/*/*~ lib/*/*/*~ \
                *.pyc */*.pyc lib/*/*.pyc lib/*/*/*.pyc \
                bup bup-* cmd/bup-* \
+               cmd/python-cmd.sh \
                randomgen memtest \
                testfs.img lib/bup/t/testfs.img
        if test -e t/mnt; then t/cleanup-mounts-under t/mnt; fi