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 \
)
|