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
2
Makefile
2
Makefile
|
|
@ -790,7 +790,7 @@ install-dlls:
|
||||||
@strip -s $(BIN_PREFIX)/*.dll
|
@strip -s $(BIN_PREFIX)/*.dll
|
||||||
@echo
|
@echo
|
||||||
@echo "...Installing Configuration Files..."
|
@echo "...Installing Configuration Files..."
|
||||||
@cp -r win32/etc/ $(BIN_PREFIX)
|
@cp -R win32/etc/ $(BIN_PREFIX)
|
||||||
@echo
|
@echo
|
||||||
@echo "...Installing Library Modules..."
|
@echo "...Installing Library Modules..."
|
||||||
@mkdir -p $(BIN_PREFIX)/lib/gtk-2.0/2.10.0/engines
|
@mkdir -p $(BIN_PREFIX)/lib/gtk-2.0/2.10.0/engines
|
||||||
|
|
|
||||||
|
|
@ -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:=$(patsubst trans/%.mo,$(LOCALE_PREFIX)/%/LC_MESSAGES/tuxpaint.mo,$(MOFILES))
|
||||||
|
|
||||||
$(INSTALLED_MOFILES): $(LOCALE_PREFIX)/%/LC_MESSAGES/tuxpaint.mo: trans/%.mo
|
$(INSTALLED_MOFILES): $(LOCALE_PREFIX)/%/LC_MESSAGES/tuxpaint.mo: trans/%.mo
|
||||||
mkdir -p $(@D)
|
install -D -m 644 $< $@
|
||||||
cp $< $@
|
|
||||||
chmod 644 $@
|
|
||||||
|
|
||||||
|
|
||||||
uninstall-i18n:
|
uninstall-i18n:
|
||||||
-rm $(LOCALE_PREFIX)/*/LC_MESSAGES/tuxpaint.mo
|
-rm $(LOCALE_PREFIX)/*/LC_MESSAGES/tuxpaint.mo
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue