diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-01-09 16:12:02 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-01-09 16:12:02 +0100 |
commit | 55c9a40613fefda6622aa9acd22cce4006fd1077 (patch) | |
tree | cd592d5836af42feeeca64ac3ebb77037b93a076 /dist.mk | |
parent | 259086de841d155f7951c2cc50f799a4631aa512 (diff) |
Move stuff to top-level
This makes it easier to use with "git subtree".
Diffstat (limited to 'dist.mk')
-rw-r--r-- | dist.mk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dist.mk b/dist.mk new file mode 100644 index 000000000..444c58b3f --- /dev/null +++ b/dist.mk @@ -0,0 +1,14 @@ +ifdef PACKAGE_NAME + +dist_name = $(PACKAGE_NAME)-$(PACKAGE_VERSION) + +dist_files := + +dist: $(dist_name).tar.bz2 + +$(dist_name).tar.bz2: $(dist_files) + $(QUIET) tar cvfj $@ $(dist_files) --transform 's,^,$(dist_name)/,' + +clean_files += $(dist_name).tar.bz2 + +endif |