Mercurial > pub > dyncall > bindings
diff lua/luadyncall/rockspec/Makefile @ 0:0cfcc391201f
initial from svn dyncall-1745
author | Daniel Adler |
---|---|
date | Thu, 19 Mar 2015 22:26:28 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lua/luadyncall/rockspec/Makefile Thu Mar 19 22:26:28 2015 +0100 @@ -0,0 +1,20 @@ +NAME =luadyncall +VERSION =0.1 +TOP =.. +TMPDIR =/tmp +DIR =$(NAME)-$(VERSION) + +.PHONY: all srcpkg srcdir clean + +all: srcpkg + +srcpkg: srcdir + tar -C $(TMPDIR) -czvpf $(TMPDIR)/$(DIR).tar.gz $(DIR) + +srcdir: + mkdir -p $(TMPDIR)/$(DIR) + cp -R $(TOP) $(TMPDIR)/$(DIR) + +clean: + rm -Rf $(TMPDIR)/$(DIR) $(TMPDIR)/$(DIR).tar.gz +