build: Add out-of-source archive support.

ck_pring
Samy Al Bahra 12 years ago
parent 1f187594ed
commit e937f6176e

@ -71,7 +71,7 @@ clean:
rm -f $(BUILD_DIR)/*~ $(BUILD_DIR)/*.o $(BUILD_DIR)/*.tar.gz
dist:
git archive --format=tar --prefix=ck-$(VERSION)/ HEAD \
git archive --remote=$(SRC_DIR) --format=tar --prefix=ck-$(VERSION)/ HEAD \
| gzip > $(BUILD_DIR)/ck-$(VERSION).tar.gz
distclean: clean

Loading…
Cancel
Save