From bed9262f1cd232d962e8ed31b412f317330ee7dd Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Mon, 9 Mar 2015 18:12:51 -0300 Subject: [PATCH] Produce tarballs --- .gitignore | 1 + Makefile | 12 +++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..335ec95 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.tar.gz diff --git a/Makefile b/Makefile index eeb7e88..da34459 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,19 @@ -all clean: +PACKAGE = noosfero-spb +VERSION = 3 +TARBALL = $(PACKAGE)-$(VERSION).tar.gz + +all: @echo Nothing to be $@, all good. plugins_dir=/usr/lib/noosfero/plugins themes_dir=/usr/lib/noosfero/public/designs/themes +dist: clean + tar --exclude=.git -caf $(TARBALL) * + +clean: + $(RM) $(TARBALL) + install: install -d -m 0755 $(DESTDIR)/$(plugins_dir)/software_communities cp -vr software_communities/* $(DESTDIR)/$(plugins_dir)/software_communities/ -- libgit2 0.21.2