File: Makefile.Debian.conf

package info (click to toggle)
lua-markdown 0.32-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 196 kB
  • ctags: 97
  • sloc: sh: 7; makefile: 3
file content (46 lines) | stat: -rw-r--r-- 1,097 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
### $Id: Makefile.Debian.conf.sample 399 2007-07-21 09:59:16Z gareuselesinge $

### mandatory fields
PKG_NAME=markdown

### things relative to the C library part
CLIB_CFLAGS=
CLIB_LDFLAGS=
CLIB_OBJS=
VERSION_INFO=0:0:0
LUA_MODNAME_CPART=

### things relative to the lua library part
LUA_HEADER=
LUA_SOURCES=markdown.lua
LUA_MODNAME=
LUA_TEST=markdown-tests.lua

### this part is relative to pkg-config
PKG_VERSION=$(shell dpkg-parsechangelog|grep ^Ver|cut -d ' ' -f 2|cut -d '-' -f 1)
PKG_LIBS_PRIVATE=
PKG_URL=
PKG_REQUIRES=
PKG_CONFLICTS=

### this part is relative to debian libs naming policy
DEB_EXTRA_DASH=

### In addition, to gather flexibility, you can set these hooks
### (called in this order)
pre-all-hook::
	lua5.1 -e 'print(string.sub(string.match(io.open("markdown.lua"):read("*a"), "%-%-(%b[])"),5,-4))'>\
		MANUAL
	chmod a-x *lua
post-all-hook::
pre-test-hook::
pre-lua-dynamic-test-hook::
pre-dynamic-link-hook::
pre-app-dynamic-test-hook::
pre-static-link-hook::
pre-app-static-test-hook::
pre-install-hook::
post-install-hook::
pre-clean-hook::
post-clean-hook::
	rm -f MANUAL