Commit bed9262f1cd232d962e8ed31b412f317330ee7dd

Authored by Antonio Terceiro
1 parent eefe6569

Produce tarballs

Showing 2 changed files with 12 additions and 1 deletions   Show diff stats
.gitignore 0 → 100644
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +*.tar.gz
1 -all clean: 1 +PACKAGE = noosfero-spb
  2 +VERSION = 3
  3 +TARBALL = $(PACKAGE)-$(VERSION).tar.gz
  4 +
  5 +all:
2 @echo Nothing to be $@, all good. 6 @echo Nothing to be $@, all good.
3 7
4 plugins_dir=/usr/lib/noosfero/plugins 8 plugins_dir=/usr/lib/noosfero/plugins
5 themes_dir=/usr/lib/noosfero/public/designs/themes 9 themes_dir=/usr/lib/noosfero/public/designs/themes
6 10
  11 +dist: clean
  12 + tar --exclude=.git -caf $(TARBALL) *
  13 +
  14 +clean:
  15 + $(RM) $(TARBALL)
  16 +
7 install: 17 install:
8 install -d -m 0755 $(DESTDIR)/$(plugins_dir)/software_communities 18 install -d -m 0755 $(DESTDIR)/$(plugins_dir)/software_communities
9 cp -vr software_communities/* $(DESTDIR)/$(plugins_dir)/software_communities/ 19 cp -vr software_communities/* $(DESTDIR)/$(plugins_dir)/software_communities/