Makefile.env, Makefile's: add some variables to Makefiles.env and use them in the make targets 'pot-files'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
b1d7033d1e
commit
5774796d00
@ -15,6 +15,10 @@ Changes in version 1.16.0
|
||||
* Makefiles - Davide Madrisan:
|
||||
New target 'pot-files'.
|
||||
|
||||
* Makefiles.env, Makefile's - Davide Madrisan:
|
||||
Add some variables to Makefiles.env and use them in the make targets
|
||||
'pot-files'.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Changes in version 1.14.3
|
||||
|
6
Makefile
6
Makefile
@ -75,8 +75,8 @@ pot-files: dist-update
|
||||
@echo "Creating pot files..."
|
||||
@echo "Generating po template '$(PACKAGE).pot'..."; \
|
||||
/usr/bin/xgettext -i -L shell \
|
||||
--copyright-holder="Davide Madrisan" \
|
||||
--msgid-bugs-address="davide.madrisan@gmail.com" \
|
||||
--copyright-holder="$(PO_COPYRIGH_HOLDER)" \
|
||||
--msgid-bugs-address="$(PO_BUGS_ADDRESS)" \
|
||||
--no-location \
|
||||
--package-name=$(PACKAGE) \
|
||||
--package-version=${VERSION} \
|
||||
@ -85,8 +85,6 @@ pot-files: dist-update
|
||||
@$(MAKE) pot-files -C plugins || exit 1
|
||||
@$(MAKE) pot-files -C tests || exit 1
|
||||
|
||||
# /usr/bin/msgmerge -i --update po/it/$(PACKAGE).po po/$(PACKAGE).pot
|
||||
|
||||
locales:
|
||||
@for loc in $(LOCALES); do\
|
||||
$(MAKE) -C po/$$loc || exit 1;\
|
||||
|
@ -36,3 +36,5 @@ INSTALL_SCRIPT = ${INSTALL_PROGRAM}
|
||||
INSTALL_DATA = ${INSTALL} -m 644
|
||||
INSTALL_DIR = ${INSTALL} -d -m 755
|
||||
|
||||
PO_COPYRIGH_HOLDER = Davide Madrisan
|
||||
PO_BUGS_ADDRESS = davide.madrisan@gmail.com
|
@ -36,8 +36,8 @@ pot-files: $(pck_libs)
|
||||
@for f in $(pck_libs); do\
|
||||
echo -n "Generating po template '$$f.pot'...";\
|
||||
/usr/bin/xgettext -i -L shell \
|
||||
--copyright-holder="Davide Madrisan" \
|
||||
--msgid-bugs-address="davide.madrisan@gmail.com" \
|
||||
--copyright-holder="$(PO_COPYRIGH_HOLDER)" \
|
||||
--msgid-bugs-address="$(PO_BUGS_ADDRESS)" \
|
||||
--no-location \
|
||||
--package-name=$(PACKAGE) \
|
||||
--package-version=${VERSION} \
|
||||
|
@ -34,8 +34,8 @@ pot-files: $(pck_plugins)
|
||||
@for f in $(pck_plugins); do\
|
||||
echo -n "Generating po template '$$f.pot'...";\
|
||||
/usr/bin/xgettext -i -L shell \
|
||||
--copyright-holder="Davide Madrisan" \
|
||||
--msgid-bugs-address="davide.madrisan@gmail.com" \
|
||||
--copyright-holder="$(PO_COPYRIGH_HOLDER)" \
|
||||
--msgid-bugs-address="$(PO_BUGS_ADDRESS)" \
|
||||
--no-location \
|
||||
--package-name=$(PACKAGE) \
|
||||
--package-version=${VERSION} \
|
||||
|
@ -34,8 +34,8 @@ pot-files: $(pck_tests)
|
||||
@for f in $(pck_tests); do\
|
||||
echo -n "Generating po template '$$f.pot'...";\
|
||||
/usr/bin/xgettext -i -L shell \
|
||||
--copyright-holder="Davide Madrisan" \
|
||||
--msgid-bugs-address="davide.madrisan@gmail.com" \
|
||||
--copyright-holder="$(PO_COPYRIGH_HOLDER)" \
|
||||
--msgid-bugs-address="$(PO_BUGS_ADDRESS)" \
|
||||
--no-location \
|
||||
--package-name=$(PACKAGE) \
|
||||
--package-version=${VERSION} \
|
||||
|
Loading…
Reference in New Issue
Block a user