mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 22:41:30 +03:00
Have FatMessages macro mkdir -p the destination directory, and have Amiga front end use macro
This commit is contained in:
parent
58202b2dfd
commit
cf8b05fe0f
1
Makefile
1
Makefile
@ -649,6 +649,7 @@ FAT_LANGUAGES=de en fr it nl
|
||||
# 2 = Destination directory (where resources being installed, creates en/Messages etc)
|
||||
define split_install_messages
|
||||
$(foreach LANG, $(FAT_LANGUAGES), @echo MSGSPLIT: $(1)/$(LANG) to $(2)
|
||||
$(Q)mkdir -p $(2)/$(LANG)
|
||||
$(Q)$(PERL) utils/split-messages.pl $(LANG) $(1) < resources/FatMessages > $(2)/$(LANG)/Messages
|
||||
)
|
||||
endef
|
||||
|
@ -133,7 +133,7 @@ netsurf.lha: $(EXETARGET)
|
||||
$(Q)cp amiga/pkg/fitr $(AMIGA_INSTALL_TARGET_DIR)/NetSurf
|
||||
$(Q)cp amiga/pkg/drawer.info $(AMIGA_INSTALL_TARGET_DIR)/NetSurf.info
|
||||
$(Q)cp amiga/pkg/AutoInstall $(AMIGA_INSTALL_TARGET_DIR)
|
||||
$(Q)$(foreach AMIGA_LANGUAGE, $(AMIGA_LANGUAGES_MESSAGES), perl utils/split-messages.pl $(AMIGA_LANGUAGE) ami < resources/FatMessages >$(AMIGA_INSTALL_TARGET_DIR)/NetSurf/Resources/$(AMIGA_LANGUAGE)/Messages;)
|
||||
$(call split_install_messages, ami, $(AMIGA_INSTALL_TARGET_DIR)/NetSurf/Resources/)
|
||||
ifeq ($(HOST),amiga)
|
||||
$(Q)mkdir $(AMIGA_INSTALL_TARGET_DIR)/NetSurf/Libs
|
||||
$(Q)cp $(AMIGA_LIBS) $(AMIGA_INSTALL_TARGET_DIR)/NetSurf/Libs
|
||||
|
Loading…
Reference in New Issue
Block a user