ADG Lua 

ADG Lua Git Source Tree

Root/Makefile.am

1ACLOCAL_AMFLAGS=-I build
2
3
4BUILT_SOURCES=ChangeLog
5
6EXTRA_DIST=COPYING \
7INSTALL \
8NEWS \
9README \
10THANKS \
11$(BUILT_SOURCES)
12
13pkgdata_DATA=adg-demo.lua
14dist_pkgdata_DATA=adg-web.lua \
15piston.lua
16
17
18# Creating ChangeLog files from git log:
19# idea stolen from cairo/build/Makefile.am.changelog
20ChangeLog:
21$(AM_V_GEN)if test -d "$(srcdir)/.git"; then \
22 ( cd "$(srcdir)" && git log --stat > $@ ) ; \
23else \
24 echo ' *WARN A git checkout is required to generate $@' ; \
25 touch $@ ; \
26fi
27
28
29# rockspec handling, based on instruction by Reuben Thomas found at
30# http://luarocks.org/en/Creating_LuaRocks_with_GNU_autotools
31
32ROCKSPEC = $(PACKAGE_TARNAME)-$(VERSION)-1.rockspec
33
34rock: $(ROCKSPEC)
35
36$(ROCKSPEC): rockspec dist dist
37$(AM_V_GEN)set -- `$(MD5SUM) $(distdir).tar.bz2` ; \
38sed -e "s/@MD5@/$$1/" < $< > $@
39
40EXTRA_DIST+=rockspec.in
41DISTCLEANFILES=rockspec
42
43.PHONY: rock

Archive Download this file

Branches

Tags