Commit 1e0df6388deae2fbc5cf7f901930c84d66a2f516
1 parent
92f36960
Exists in
master
and in
54 other branches
Fixed makefile and references for plugin translation
Showing
3 changed files
with
6 additions
and
4 deletions
Show diff stats
Makefile
@@ -6,7 +6,7 @@ TARBALL = $(DISTDIR).tar.gz | @@ -6,7 +6,7 @@ TARBALL = $(DISTDIR).tar.gz | ||
6 | all: | 6 | all: |
7 | @echo Nothing to be $@, all good. | 7 | @echo Nothing to be $@, all good. |
8 | 8 | ||
9 | -plugin_dir=/usr/lib/noosfero/plugins/software_communities | 9 | +plugins_dir=/usr/lib/noosfero/plugins |
10 | themes_dir=/usr/lib/noosfero/public/designs/themes | 10 | themes_dir=/usr/lib/noosfero/public/designs/themes |
11 | noosfero_dir=/usr/lib/noosfero | 11 | noosfero_dir=/usr/lib/noosfero |
12 | 12 | ||
@@ -24,4 +24,6 @@ install: | @@ -24,4 +24,6 @@ install: | ||
24 | cp -vr software_communities/* $(DESTDIR)/$(plugins_dir)/software_communities/ | 24 | cp -vr software_communities/* $(DESTDIR)/$(plugins_dir)/software_communities/ |
25 | install -d -m 0755 $(DESTDIR)/$(themes_dir)/noosfero-spb-theme | 25 | install -d -m 0755 $(DESTDIR)/$(themes_dir)/noosfero-spb-theme |
26 | cp -vr noosfero-spb-theme/* $(DESTDIR)/$(themes_dir)/noosfero-spb-theme/ | 26 | cp -vr noosfero-spb-theme/* $(DESTDIR)/$(themes_dir)/noosfero-spb-theme/ |
27 | - cd $(plugin_dir) && sudo bundle exec rake | 27 | + cd $(DESTDIR)/$(plugins_dir)/software_communities/ && \ |
28 | + mkdir -p locale/pt/LC_MESSAGES && \ | ||
29 | + msgfmt -o locale/pt/LC_MESSAGES/software_communities.mo po/pt/software_communities.po |
noosfero-spb-theme
software_communities