Improved how trans dir created
Having it as a Makefile target caused po->mo conversion to happen every time, even if the MO files existed. >:-(
This commit is contained in:
parent
813978d9ef
commit
b452d84d25
1 changed files with 3 additions and 7 deletions
10
Makefile
10
Makefile
|
|
@ -535,7 +535,8 @@ endif
|
||||||
|
|
||||||
# Build the translation files for gettext
|
# Build the translation files for gettext
|
||||||
|
|
||||||
$(MOFILES): trans/%.mo: src/po/%.po trans
|
$(MOFILES): trans/%.mo: src/po/%.po
|
||||||
|
@-mkdir -p trans
|
||||||
msgfmt -o $@ $<
|
msgfmt -o $@ $<
|
||||||
|
|
||||||
%.desktop: %.desktop.in $(POTFILES)
|
%.desktop: %.desktop.in $(POTFILES)
|
||||||
|
|
@ -553,14 +554,9 @@ translations: trans
|
||||||
@echo "Install gettext to run Tux Paint in non-U.S. English modes."
|
@echo "Install gettext to run Tux Paint in non-U.S. English modes."
|
||||||
@echo "--------------------------------------------------------------"
|
@echo "--------------------------------------------------------------"
|
||||||
else
|
else
|
||||||
translations: trans $(MOFILES) src/tuxpaint.desktop src/tuxpaint-fullscreen.desktop src/org.tuxpaint.Tuxpaint.appdata.xml
|
translations: $(MOFILES) src/tuxpaint.desktop src/tuxpaint-fullscreen.desktop src/org.tuxpaint.Tuxpaint.appdata.xml
|
||||||
endif
|
endif
|
||||||
|
|
||||||
trans:
|
|
||||||
@echo
|
|
||||||
@echo "...Preparing translation files..."
|
|
||||||
@mkdir trans
|
|
||||||
|
|
||||||
######
|
######
|
||||||
|
|
||||||
windows_ARCH_INSTALL:=
|
windows_ARCH_INSTALL:=
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue