+
+ sampledata_rev := $(shell t/configure-sampledata --revision)
+ current_sampledata := t/sampledata/var/rev/v$(sampledata_rev)
+
OS:=$(shell uname | sed 's/[-_].*//')
-CFLAGS := -Wall -O2 -Werror -Wno-unknown-pragmas $(PYINCLUDE) $(CFLAGS)
+CFLAGS := -Wall -O2 -Wno-unknown-pragmas $(PYINCLUDE) $(CFLAGS)
CFLAGS := -D_FILE_OFFSET_BITS=64 $(CFLAGS)
SOEXT:=.so
test_tmp := $(CURDIR)/t/tmp
endif
- .PHONY: all
- all: bup
- t/configure-sampledata --setup
+ initial_setup := $(shell ./configure-version --update)
+ bup_deps := bup lib/bup/_version.py lib/bup/_helpers$(SOEXT) cmds
- bup: lib/bup/_version.py lib/bup/_helpers$(SOEXT) cmds main.py
- -ln -s main.py bup
- test -L bup
-all: $(bup_deps) Documentation/all $(current_sampledata)
++all: $(bup_deps) $(current_sampledata)
- Documentation/all: bup
+ bup:
+ ln -s main.py bup
+
+ Documentation/all: $(bup_deps)
+
+ $(current_sampledata):
+ t/configure-sampledata --setup
INSTALL=install
PYTHON=python