]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
modules: fixed install target of Lua modules
authorMarek Vavruša <marek.vavrusa@nic.cz>
Thu, 7 May 2015 19:42:05 +0000 (21:42 +0200)
committerMarek Vavruša <marek.vavrusa@nic.cz>
Thu, 7 May 2015 19:42:05 +0000 (21:42 +0200)
modules/modules.mk

index e513d4f4088096ed79098173ca9886555d8dbe8c..3d285f300bab53e9a6536e065910a07bcf93d489 100644 (file)
@@ -26,7 +26,7 @@ endef
 define lua_target
 $(1) := $$(addprefix $(2)/,$$($(1)_SOURCES))
 $(1)-clean:
-$(1)-install: $$($(1)_SOURCES)
+$(1)-install: $$(addprefix $(2)/,$$($(1)_SOURCES))
        $(INSTALL) -d $(PREFIX)/$(MODULEDIR)
        $(INSTALL) $$^ $(PREFIX)/$(MODULEDIR)
 .PHONY: $(1) $(1)-install $(1)-clean