File: rules

package info (click to toggle)
dynalogin 1.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, sid, stretch
  • size: 1,864 kB
  • ctags: 439
  • sloc: sh: 11,691; ansic: 2,552; php: 276; makefile: 103; sql: 13
file content (28 lines) | stat: -rwxr-xr-x 1,120 bytes parent folder | download
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
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk

CFLAGS = `apr-1-config --cflags --cppflags --includes` -I/usr/include/liboath

DEB_DH_STRIP_ARGS =
#DEB_MAKE_CHECK_TARGET = VERBOSE=t check

install/libdynalogin-1-0::
	mkdir -p debian/libdynalogin-1-0/usr/share/doc/libdynalogin-1-0/odbc
	cp libdynalogin/datasources/odbc/*sample debian/libdynalogin-1-0/usr/share/doc/libdynalogin-1-0/odbc
	cp libdynalogin/datasources/odbc/README* debian/libdynalogin-1-0/usr/share/doc/libdynalogin-1-0/odbc
	cp libdynalogin/datasources/odbc/schema* debian/libdynalogin-1-0/usr/share/doc/libdynalogin-1-0/odbc

install/dynalogin-client-php::
	mkdir -p debian/dynalogin-client-php/usr/share/dynalogin-client-php
	cp php/dynalogin.php debian/dynalogin-client-php/usr/share/dynalogin-client-php

install/dynalogin-server::
	mkdir -p debian/dynalogin-server/etc
	cp debian/dynalogind.conf debian/dynalogin-server/etc

install/libpam-dynalogin::
	mkdir -p debian/libpam-dynalogin/lib/security
	mv debian/tmp/usr/lib/security/pam_dynalogin.so debian/libpam-dynalogin/lib/security