mirror of https://github.com/odrling/Aegisub
Fix permissions on installed files. Closes #1669.
This commit is contained in:
parent
4c1a8a21b9
commit
079b341f98
|
@ -48,8 +48,8 @@ all: ;
|
|||
install: install-share
|
||||
@$(BIN_MKDIR) -p $(addprefix $(DESTDIR)$(P_DATA)/automation/, $(dir $(DATA_AUTOMATION)))
|
||||
@for i in $(DATA_AUTOMATION); do \
|
||||
$(BIN_ECHO) "$(BIN_INSTALL) $$i $(DESTDIR)$(P_DATA)/automation/$$i"; \
|
||||
$(BIN_INSTALL) $$i $(DESTDIR)$(P_DATA)/automation/$$i; \
|
||||
$(BIN_ECHO) "$(BIN_INSTALL) -m644 $$i $(DESTDIR)$(P_DATA)/automation/$$i"; \
|
||||
$(BIN_INSTALL) -m644 $$i $(DESTDIR)$(P_DATA)/automation/$$i; \
|
||||
done
|
||||
|
||||
EXTRA_DIST = $(DATA_AUTOMATION)
|
||||
|
|
|
@ -38,8 +38,8 @@ install-desktop:
|
|||
install-icons:
|
||||
@$(BIN_MKDIR) -p $(addprefix $(DESTDIR)$(P_ICON)/hicolor/, $(dir $(ICON_HICOLOR)))
|
||||
@for i in $(ICON_HICOLOR); do \
|
||||
$(BIN_ECHO) "$(BIN_INSTALL) $$i $(DESTDIR)$(P_ICON)/hicolor/$$i"; \
|
||||
$(BIN_INSTALL) $$i $(DESTDIR)$(P_ICON)/hicolor/$$i; \
|
||||
$(BIN_ECHO) "$(BIN_INSTALL) -m644 $$i $(DESTDIR)$(P_ICON)/hicolor/$$i"; \
|
||||
$(BIN_INSTALL) -m644 $$i $(DESTDIR)$(P_ICON)/hicolor/$$i; \
|
||||
done
|
||||
$(BIN_TOUCH) $(DESTDIR)$(P_ICON)/hicolor
|
||||
$(BIN_MKDIR) -p $(DESTDIR)$(P_ICON)/hicolor/scalable/apps
|
||||
|
|
|
@ -41,8 +41,8 @@ all: $(MO)
|
|||
install:
|
||||
@$(BIN_MKDIR) -p $(addsuffix /LC_MESSAGES/, $(addprefix $(DESTDIR)$(P_LOCALE)/, $(basename $(PO))))
|
||||
@for i in $(basename $(PO)); do \
|
||||
echo $(BIN_INSTALL) $$i.mo $(DESTDIR)$(P_LOCALE)/$$i/LC_MESSAGES/$(AEGISUB_CATALOG).mo; \
|
||||
$(BIN_INSTALL) $$i.mo $(DESTDIR)$(P_LOCALE)/$$i/LC_MESSAGES/$(AEGISUB_CATALOG).mo; \
|
||||
$(BIN_ECHO) "$(BIN_INSTALL) -m644 $$i.mo $(DESTDIR)$(P_LOCALE)/$$i/LC_MESSAGES/$(AEGISUB_CATALOG).mo"; \
|
||||
$(BIN_INSTALL) -m644 $$i.mo $(DESTDIR)$(P_LOCALE)/$$i/LC_MESSAGES/$(AEGISUB_CATALOG).mo; \
|
||||
done
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue