File: Makefile.linux

package info (click to toggle)
lua-gtk 0.9%2B20100528-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,176 kB
  • ctags: 1,934
  • sloc: ansic: 9,571; sh: 373; makefile: 241
file content (17 lines) | stat: -rwxr-xr-x 526 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Makefile for lua-gtk2 (Linux)

# Build a tarball with the stripped library, the Lua library code and all the
# examples, plus an explanatory README file.

tar-bin: all
	(D="lua-gtk-$(VERSION)"; mkdir -p $$D/gtk $$D/examples; \
	cp $(ODIR)/$(ODLL) $$D/; strip $$D/$(ODLL); \
	cp lib/*.lua $$D/gtk/; \
	cp examples/*.{lua,glade,ui} $$D/examples/; \
	cp doc/README.binary $$D/README; \
	cp doc/COPYING doc/AUTHORS $$D/; \
	cp script/install.lua $$D; \
	tar czvf ../tar/lua-gtk-$(VERSION)-$(ARCH).tar.gz $$D; \
	rm -r $$D \
	)