From 65ddccc000b3dd38edd467cb93c8390f92c8e9b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marek=20Vavru=C5=A1a?= <marek.vavrusa@nic.cz>
Date: Thu, 7 May 2015 10:35:09 +0200
Subject: [PATCH] build: modules/lua, added clean rule

---
 modules/modules.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/modules.mk b/modules/modules.mk
index 26b8eb977..cb435fc14 100644
--- a/modules/modules.mk
+++ b/modules/modules.mk
@@ -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
-- 
GitLab