]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
build: modules/lua, added clean rule
authorMarek Vavruša <marek.vavrusa@nic.cz>
Thu, 7 May 2015 08:35:09 +0000 (10:35 +0200)
committerMarek Vavruša <marek.vavrusa@nic.cz>
Thu, 7 May 2015 08:35:09 +0000 (10:35 +0200)
modules/modules.mk

index 26b8eb977d6d4331bc06337cde3c3ff7ce5925d7..cb435fc14c79623e19e26f508d026dad02c01253 100644 (file)
@@ -25,10 +25,11 @@ endef
 # Lua target definition
 define lua_target
 $(1) := $(2)/$(1).lua
+$(1)-clean:
 $(1)-install: $(2)/$(1).lua
        $(INSTALL) -d $(PREFIX)/$(MODULEDIR)
        $(INSTALL) $$^ $(PREFIX)/$(MODULEDIR)
-.PHONY: $(1) $(1)-install
+.PHONY: $(1) $(1)-install $(1)-clean
 endef
 
 # Make Go module