Skip to content
Snippets Groups Projects
Commit c6cb5686 authored by Aurélien Bompard's avatar Aurélien Bompard
Browse files

Add a makefile to build the tarball

parent 533af3eb
No related branches found
Tags v0.1.4
No related merge requests found
......@@ -2,3 +2,4 @@
*~
static
settings_local.py
dist
NAME = hyperkitty_standalone
LASTTAG := $(shell git tag | tail -1)
VERSION := $(patsubst v%,%,$(LASTTAG))
all: sdist
sdist: dist/$(NAME)-$(VERSION).tar.gz
dist/$(NAME)-$(VERSION).tar.gz:
mkdir -p dist
git archive --prefix=$(NAME)-$(VERSION)/ -o $@ $(LASTTAG)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment