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