summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-08-23 16:44:23 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-08-23 16:44:23 +0100
commitc82384b1f3dd512d40d1f0ed7181f3a3e5f793e2 (patch)
treec9be56c2af2e17cffc08356671c8045b7e835b9b /Makefile
parent535ade0e56c99ac87782886395378eea92013c6f (diff)
Makefile: only include the smaller benchmarks in a snapshot
This is to cut down the tarball to a manageable size as the intent is to use the snapshot as means of distributing benchmark traces (for use with the Phoronix Test Suite).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 58c93a3..05ec216 100644
--- a/Makefile
+++ b/Makefile
@@ -35,11 +35,11 @@ tar_file := $(snapshots)/cairo-traces-$(snapshot_name).tar.gz
sha1_file := $(tar_file).sha1
gpg_file := $(sha1_file).asc
-DIST := Makefile README $(wildcard *.c) $(ALL_LZMA)
-$(tar_file): $(DIST)
+SNAPSHOT_DIST := Makefile README $(wildcard *.c) $(QUICK_LZMA)
+$(tar_file): $(SNAPSHOT_DIST)
@mkdir -p $(snapshots)
@echo Generating snapshot tarball: $(tar_file)
- @tar $(TAR_OPTIONS) --transform 's#^#cairo-traces-$(snapshot_name)/#' -czvf $(tar_file) $(DIST)
+ @tar $(TAR_OPTIONS) --transform 's#^#cairo-traces-$(snapshot_name)/#' -czvf $(tar_file) $(SNAPSHOT_DIST)
$(sha1_file): $(tar_file)
sha1sum $^ > $@
@@ -49,7 +49,7 @@ $(gpg_file): $(sha1_file)
gpg --armor --sign $^
snapshot-dirty:
- @if test -n "$(shell git ls-files -m $(DIST))"; then \
+ @if test -n "$(shell git ls-files -m $(SNAPSHOT_DIST))"; then \
echo "Local tree has uncommitted modifications. Please commit these changes before making a snapshot." ; \
exit 1; \
fi