Makefile: Add 'install' target

Fri, 01 Jan 2016 15:41:04 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Fri, 01 Jan 2016 15:41:04 +0000
changeset 372
0ce6d4a1e2fd
parent 371
88bcf9fbdd07
child 373
39090da18b83

Makefile: Add 'install' target

Makefile file | annotate | diff | comparison | revisions
--- a/Makefile	Fri Jan 01 15:40:51 2016 +0000
+++ b/Makefile	Fri Jan 01 15:41:04 2016 +0000
@@ -8,6 +8,9 @@
 verse.lua: $(SOURCE_FILES)
 	./buildscripts/squish
 
+install: verse.lua
+	install -t $(LUA_DIR) -m 644 $^
+
 clean:
 	rm verse.lua
 
@@ -20,4 +23,4 @@
 
 release: $(MISSING_FILES)
 
-.PHONY: all release clean
+.PHONY: all release clean install

mercurial