components/zsh/Makefile
changeset 535 e81583782a8e
parent 514 c5ba531e2f65
--- a/components/zsh/Makefile	Tue Oct 09 20:07:02 2012 +0100
+++ b/components/zsh/Makefile	Wed Oct 10 09:56:04 2012 +0100
@@ -73,18 +73,18 @@
 # the language.
 COMPONENT_BUILD_ENV += LANG=C
 
-source/$(COMPONENT_SRC)/Completion/%: Completion/%
+$(SOURCE_DIR)/Completion/%: Completion/%
 	$(CP) $< $@
 
-$(COMPONENT_SRC)/LICENCE: prep
+$(SOURCE_DIR)/LICENCE: prep
 
-license: $(COMPONENT_SRC)/LICENCE
+license: $(SOURCE_DIR)/LICENCE
 	iconv -f 8859-1 -t utf-8 $< > $@
 
 CLEAN_PATHS += license
 
 # common targets
-build:		$(BUILD_32) $(COMPOVERRIDES:%=source/$(COMPONENT_SRC)/%)
+build:		$(BUILD_32) $(COMPOVERRIDES:%=$(SOURCE_DIR)/%)
 
 install:	build $(INSTALL_32) $(PROTOETCDIR)/zprofile $(PROTOETCDIR)/zshrc license