]> arthur.barton.de Git - bup.git/blobdiff - Makefile
Be more careful when testing that repeated saves can produce the same tree.
[bup.git] / Makefile
index 241a4bc82efcf9711f004eebd5488cd373c5eca7..c0310b04b02331bc691ba9e235a7852ba2d8dfef 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 OS:=$(shell uname | sed 's/[-_].*//')
-CFLAGS:=-Wall -O2 -Werror $(PYINCLUDE)
+CFLAGS := -Wall -O2 -Werror $(PYINCLUDE) $(CFLAGS)
 SOEXT:=.so
 
 ifeq ($(OS),CYGWIN)
@@ -34,23 +34,23 @@ install: all
          $(INSTALL) -m 0644 \
                Documentation/*.html \
                $(DOCDIR)
-       $(INSTALL) -m 0755 bup $(BINDIR)
-       $(INSTALL) -m 0755 \
+       $(INSTALL) -pm 0755 bup $(BINDIR)
+       $(INSTALL) -pm 0755 \
                cmd/bup-* \
                $(LIBDIR)/cmd
-       $(INSTALL) -m 0644 \
+       $(INSTALL) -pm 0644 \
                lib/bup/*.py \
                $(LIBDIR)/bup
-       $(INSTALL) -m 0755 \
+       $(INSTALL) -pm 0755 \
                lib/bup/*$(SOEXT) \
                $(LIBDIR)/bup
-       $(INSTALL) -m 0644 \
+       $(INSTALL) -pm 0644 \
                lib/tornado/*.py \
                $(LIBDIR)/tornado
-       $(INSTALL) -m 0644 \
+       $(INSTALL) -pm 0644 \
                lib/web/static/* \
                $(LIBDIR)/web/static/
-       $(INSTALL) -m 0644 \
+       $(INSTALL) -pm 0644 \
                lib/web/*.html \
                $(LIBDIR)/web/
 %/all:
@@ -86,10 +86,13 @@ runtests-python: all
        $(PYTHON) wvtest.py lib/bup/t/tmetadata.py
 
 runtests-cmdline: all
-       t/test.sh
+       t/test-index-check-device.sh
        t/test-meta.sh
        t/test-restore-single-file.sh
-       t/test-index-check-device.sh
+       t/test-rm-between-index-and-save.sh
+       t/test-command-without-init-fails.sh
+       t/test-redundant-saves.sh
+       t/test.sh
 
 stupid:
        PATH=/bin:/usr/bin $(MAKE) test