annotate lua/luadyncall/rockspec/Makefile @ 56:16151547265e

made callback example python 2 compatible, and added some randomness to numbers to sort
author Tassilo Philipp
date Tue, 02 Feb 2021 21:07:41 +0100
parents 0cfcc391201f
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