Commit 93bebca66112b2992d051f4f9c064b199e011709

Authored by Daniela Feitosa
2 parents a703bf9a 3acac203

Merge softwarepublico/noosfero-spb

src/noosfero-spb/.gitignore 0 → 100644
... ... @@ -0,0 +1,2 @@
  1 +*.tar.gz
  2 +/noosfero-spb-*
... ...
src/noosfero-spb/.gitmodules 0 → 100644
... ... @@ -0,0 +1,12 @@
  1 +[submodule "software_communities"]
  2 + path = software_communities
  3 + url = git@softwarepublico.gov.br:softwarepublico/mpog_software.git
  4 +[submodule "noosfero-spb-theme"]
  5 + path = noosfero-spb-theme
  6 + url = git@softwarepublico.gov.br:softwarepublico/noosfero-spb-theme.git
  7 +[submodule "spb_migrations"]
  8 + path = spb_migrations
  9 + url = git@softwarepublico.gov.br:softwarepublico/spb_migrations.git
  10 +[submodule "gov_user"]
  11 + path = gov_user
  12 + url = git@softwarepublico.gov.br:softwarepublico/gov_user.git
... ...
src/noosfero-spb/Makefile 0 → 100644
... ... @@ -0,0 +1,37 @@
  1 +PACKAGE = noosfero-spb
  2 +VERSION = 4.2
  3 +DISTDIR = $(PACKAGE)-$(VERSION)
  4 +TARBALL = $(DISTDIR).tar.gz
  5 +
  6 +all:
  7 + @echo Nothing to be $@, all good.
  8 +
  9 +plugins_dir=/usr/lib/noosfero/plugins
  10 +themes_dir=/usr/lib/noosfero/public/designs/themes
  11 +noosfero_dir=/usr/lib/noosfero
  12 +
  13 +dist: clean
  14 + mkdir $(DISTDIR)
  15 + tar --exclude=.git --exclude=$(DISTDIR) -cf - * | (cd $(DISTDIR) && tar xaf -)
  16 + tar --exclude=.git -czf $(TARBALL) $(DISTDIR)
  17 +
  18 +clean:
  19 + $(RM) $(TARBALL)
  20 + $(RM) -r $(DISTDIR)
  21 +
  22 +install:
  23 + install -d -m 0755 $(DESTDIR)/$(plugins_dir)/software_communities
  24 + cp -vr software_communities/* $(DESTDIR)/$(plugins_dir)/software_communities/
  25 + install -d -m 0755 $(DESTDIR)/$(plugins_dir)/spb_migrations
  26 + cp -vr spb_migrations/* $(DESTDIR)/$(plugins_dir)/spb_migrations/
  27 + install -d -m 0755 $(DESTDIR)/$(themes_dir)/noosfero-spb-theme
  28 + cp -vr noosfero-spb-theme/* $(DESTDIR)/$(themes_dir)/noosfero-spb-theme/
  29 + install -d -m 0755 $(DESTDIR)/$(plugins_dir)/gov_user
  30 + cp -vr gov_user/* $(DESTDIR)/$(plugins_dir)/gov_user/
  31 + cd $(DESTDIR)/$(plugins_dir)/software_communities/ && \
  32 + mkdir -p locale/pt/LC_MESSAGES && \
  33 + msgfmt -o locale/pt/LC_MESSAGES/software_communities.mo po/pt/software_communities.po
  34 + cd ..
  35 + cd $(DESTDIR)/$(plugins_dir)/gov_user/ && \
  36 + mkdir -p locale/pt/LC_MESSAGES && \
  37 + msgfmt -o locale/pt/LC_MESSAGES/gov_user.mo po/pt/gov_user.po
... ...
src/noosfero-spb/gov_user 0 → 160000
... ... @@ -0,0 +1 @@
  1 +Subproject commit 20d8849666eb1f43a6c75e5710bb6acdbdeac271
... ...
src/noosfero-spb/noosfero-spb-theme 0 → 160000
... ... @@ -0,0 +1 @@
  1 +Subproject commit c861961d9e1160dbff135a95d53c16a18d0184b9
... ...
src/noosfero-spb/software_communities 0 → 160000
... ... @@ -0,0 +1 @@
  1 +Subproject commit b5a1769b875637268d2f9750697ca15ecdf8101f
... ...
src/noosfero-spb/spb_migrations 0 → 160000
... ... @@ -0,0 +1 @@
  1 +Subproject commit 9cd1d18c6374e24f769adaa7abb912ecf794cc5a
... ...