components/zsh/Makefile
changeset 535 e81583782a8e
parent 514 c5ba531e2f65
equal deleted inserted replaced
534:3aac92516266 535:e81583782a8e
    71 # makepro.awk leaves turds behind when using gawk 3.1.5 and LANG=en_US.UTF-8.
    71 # makepro.awk leaves turds behind when using gawk 3.1.5 and LANG=en_US.UTF-8.
    72 # Upgrading gawk would fix the problem, but for now, all we can do is change
    72 # Upgrading gawk would fix the problem, but for now, all we can do is change
    73 # the language.
    73 # the language.
    74 COMPONENT_BUILD_ENV += LANG=C
    74 COMPONENT_BUILD_ENV += LANG=C
    75 
    75 
    76 source/$(COMPONENT_SRC)/Completion/%: Completion/%
    76 $(SOURCE_DIR)/Completion/%: Completion/%
    77 	$(CP) $< $@
    77 	$(CP) $< $@
    78 
    78 
    79 $(COMPONENT_SRC)/LICENCE: prep
    79 $(SOURCE_DIR)/LICENCE: prep
    80 
    80 
    81 license: $(COMPONENT_SRC)/LICENCE
    81 license: $(SOURCE_DIR)/LICENCE
    82 	iconv -f 8859-1 -t utf-8 $< > $@
    82 	iconv -f 8859-1 -t utf-8 $< > $@
    83 
    83 
    84 CLEAN_PATHS += license
    84 CLEAN_PATHS += license
    85 
    85 
    86 # common targets
    86 # common targets
    87 build:		$(BUILD_32) $(COMPOVERRIDES:%=source/$(COMPONENT_SRC)/%)
    87 build:		$(BUILD_32) $(COMPOVERRIDES:%=$(SOURCE_DIR)/%)
    88 
    88 
    89 install:	build $(INSTALL_32) $(PROTOETCDIR)/zprofile $(PROTOETCDIR)/zshrc license
    89 install:	build $(INSTALL_32) $(PROTOETCDIR)/zprofile $(PROTOETCDIR)/zshrc license
    90 
    90 
    91 # build does this always
    91 # build does this always
    92 test:		$(TEST_32)
    92 test:		$(TEST_32)