if you generate "make" targets for installed files, you can use "install -D -m 644"
This commit is contained in:
parent
a101226ec8
commit
d32821d69d
2 changed files with 2 additions and 5 deletions
|
|
@ -30,10 +30,7 @@ MOFILES:=$(patsubst src/po/%.po,trans/%.mo,$(POFILES))
|
|||
INSTALLED_MOFILES:=$(patsubst trans/%.mo,$(LOCALE_PREFIX)/%/LC_MESSAGES/tuxpaint.mo,$(MOFILES))
|
||||
|
||||
$(INSTALLED_MOFILES): $(LOCALE_PREFIX)/%/LC_MESSAGES/tuxpaint.mo: trans/%.mo
|
||||
mkdir -p $(@D)
|
||||
cp $< $@
|
||||
chmod 644 $@
|
||||
|
||||
install -D -m 644 $< $@
|
||||
|
||||
uninstall-i18n:
|
||||
-rm $(LOCALE_PREFIX)/*/LC_MESSAGES/tuxpaint.mo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue