From d32821d69da389a3ff151d027df878cd6cb7745b Mon Sep 17 00:00:00 2001 From: Albert Cahalan Date: Sun, 27 Apr 2008 05:37:56 +0000 Subject: [PATCH] if you generate "make" targets for installed files, you can use "install -D -m 644" --- Makefile | 2 +- Makefile-i18n | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 7779a0661..0711724f3 100644 --- a/Makefile +++ b/Makefile @@ -790,7 +790,7 @@ install-dlls: @strip -s $(BIN_PREFIX)/*.dll @echo @echo "...Installing Configuration Files..." - @cp -r win32/etc/ $(BIN_PREFIX) + @cp -R win32/etc/ $(BIN_PREFIX) @echo @echo "...Installing Library Modules..." @mkdir -p $(BIN_PREFIX)/lib/gtk-2.0/2.10.0/engines diff --git a/Makefile-i18n b/Makefile-i18n index 64e61797f..2cf7db7f6 100644 --- a/Makefile-i18n +++ b/Makefile-i18n @@ -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