File: lua.mk

package info (click to toggle)
lua5.1-policy 33
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 140 kB
  • ctags: 16
  • sloc: sh: 45; ansic: 42; makefile: 30
file content (39 lines) | stat: -rw-r--r-- 1,593 bytes parent folder | download | duplicates (3)
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
#
# Description: CDBS class for Lua related packages
#
# Copyright © 2009 Enrico Tassi <gareuselesinge@debian.org>
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation; either version 2, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

_cdbs_scripts_path ?= /usr/lib/cdbs
_cdbs_rules_path ?= /usr/share/cdbs/1/rules
_cdbs_class_path ?= /usr/share/cdbs/1/class
_ocaml_share_path ?= /usr/share/ocaml

ifndef _cdbs_class_lua
_cdbs_class_lua = 1

include $(_cdbs_class_path)/makefile.mk
include $(_cdbs_rules_path)/debhelper.mk

DEB_DESTDIR=$(shell pwd)/debian/tmp
LUA_POLICY_PATH           := /usr/share/lua5.1-policy-dev/
LUA_POLICY_MAKEFILE       := $(LUA_POLICY_PATH)/Makefile.Debian.multiple
DEB_MAKE_BUILD_TARGET     := all     -f $(LUA_POLICY_MAKEFILE) 
DEB_MAKE_CHECK_TARGET     := test    -f $(LUA_POLICY_MAKEFILE) 
DEB_MAKE_CLEAN_TARGET     := clean   -f $(LUA_POLICY_MAKEFILE) 
DEB_MAKE_INSTALL_TARGET   := install -f $(LUA_POLICY_MAKEFILE)  DESTDIR=$(DEB_DESTDIR)
DEB_DH_INSTALL_SOURCEDIR  := $(DEB_DESTDIR)

endif