view lua/luadyncall/rockspec/Makefile @ 17:739c40f35a6a

- update READMEs
author cslag
date Sat, 26 Mar 2016 22:32:59 +0100
parents 0cfcc391201f
children
line wrap: on
line source

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