annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
1 NAME =luadyncall
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
2 VERSION =0.1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
3 TOP =..
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
4 TMPDIR =/tmp
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
5 DIR =$(NAME)-$(VERSION)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
6
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
7 .PHONY: all srcpkg srcdir clean
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
8
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
9 all: srcpkg
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
10
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
11 srcpkg: srcdir
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
12 tar -C $(TMPDIR) -czvpf $(TMPDIR)/$(DIR).tar.gz $(DIR)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
13
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
14 srcdir:
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
15 mkdir -p $(TMPDIR)/$(DIR)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
16 cp -R $(TOP) $(TMPDIR)/$(DIR)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
17
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
18 clean:
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
19 rm -Rf $(TMPDIR)/$(DIR) $(TMPDIR)/$(DIR).tar.gz
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
20