summaryrefslogtreecommitdiffstats
path: root/lua/Makefile
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2011-08-30 20:13:24 +0000
committerTed Trask <ttrask01@yahoo.com>2011-08-30 20:13:24 +0000
commit42750f022f4b2b9a9df6237c0981fdd479f4532d (patch)
tree219a575c980e5942c2ca9473b426caf289188e15 /lua/Makefile
parent733a51c96e6b97a725afab9923efd7ef5b509e0b (diff)
downloadacf-core-42750f022f4b2b9a9df6237c0981fdd479f4532d.tar.bz2
acf-core-42750f022f4b2b9a9df6237c0981fdd479f4532d.tar.xz
Moved mvc.lua into /usr/share/lua and cli to /usr/bin/acf_cli
Diffstat (limited to 'lua/Makefile')
-rw-r--r--lua/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/lua/Makefile b/lua/Makefile
new file mode 100644
index 0000000..c9e7b43
--- /dev/null
+++ b/lua/Makefile
@@ -0,0 +1,35 @@
+include ../config.mk
+
+LUA_DIST=mvc.lua\
+
+EXTRA_DIST=Makefile
+DISTFILES=$(LUA_DIST) $(EXTRA_DIST)
+
+install_dir=$(DESTDIR)/$(luadir)
+dist_dir=$(DISTDIR)/$(notdir $(PWD))
+
+phony+=all
+all:
+
+phony+=clean
+clean:
+
+phony+=distdir
+distdir: $(DISTFILES)
+ mkdir -p "$(dist_dir)"
+ for i in $(DISTFILES); do\
+ dest=`dirname "$(dist_dir)/$$i"`;\
+ mkdir -p "$$dest";\
+ cp "$$i" "$$dest";\
+ done
+
+phony+=install
+install:
+ mkdir -p $(install_dir)
+ for i in $(LUA_DIST); do\
+ dest=`dirname "$(install_dir)/$$i"`;\
+ mkdir -p "$$dest";\
+ cp "$$i" "$$dest";\
+ done
+
+.PHONY: $(phony)