Mercurial > hg > freeDiameter
annotate contrib/debian/rules @ 560:d300c5213e45
Fix broken packaging
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Wed, 15 Sep 2010 18:58:39 +0900 |
parents | bfe99640cdfa |
children | 7ae66129fd73 |
rev | line source |
---|---|
314
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
1 #!/usr/bin/make -f |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
2 # -*- makefile -*- |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
3 # Sample debian/rules that uses debhelper. |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
4 # |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
5 # This file was originally written by Joey Hess and Craig Small. |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
6 # As a special exception, when this file is copied by dh-make into a |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
7 # dh-make output file, you may use that output file without restriction. |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
8 # This special exception was added by Craig Small in version 0.37 of dh-make. |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
9 # |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
10 # Modified to make a template file for a multi-binary package with separated |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
11 # build-arch and build-indep targets by Bill Allombert 2001 |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
12 |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
13 # Uncomment this to turn on verbose mode. |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
14 #export DH_VERBOSE=1 |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
15 |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
16 # This has to be exported to make some magic below work. |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
17 export DH_OPTIONS |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
18 |
341
2bf23d10bc6f
Change the test system to use ctest more efficiently
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
328
diff
changeset
|
19 # Comment this out if you want to include the tests when the package is built |
2bf23d10bc6f
Change the test system to use ctest more efficiently
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
328
diff
changeset
|
20 skip_the_tests=-DBUILD_TESTING:BOOL=OFF |
314
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
21 |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
22 %: |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
23 dh $@ |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
24 |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
25 override_dh_auto_configure: |
341
2bf23d10bc6f
Change the test system to use ctest more efficiently
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
328
diff
changeset
|
26 dh_auto_configure -- $(skip_the_tests) \ |
436
bfe99640cdfa
Added documentation for app_sip in the debian package
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
431
diff
changeset
|
27 -DCMAKE_BUILD_TYPE:STRING=DebianPackage \ |
314
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
28 -DDEFAULT_CONF_PATH:PATH=/etc/freeDiameter \ |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
29 -DBUILD_APP_ACCT:BOOL=ON \ |
431
1bb1bc417efe
Reworked the packaging to include newest components
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
341
diff
changeset
|
30 -DBUILD_APP_DIAMEAP:BOOL=ON \ |
1bb1bc417efe
Reworked the packaging to include newest components
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
341
diff
changeset
|
31 -DBUILD_EAP_MD5:BOOL=ON \ |
1bb1bc417efe
Reworked the packaging to include newest components
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
341
diff
changeset
|
32 -DBUILD_EAP_TLS:BOOL=ON \ |
314
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
33 -DBUILD_APP_RADGW:BOOL=ON \ |
431
1bb1bc417efe
Reworked the packaging to include newest components
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
341
diff
changeset
|
34 -DBUILD_RGWX_SIP:BOOL=ON \ |
1bb1bc417efe
Reworked the packaging to include newest components
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
341
diff
changeset
|
35 -DBUILD_APP_SIP:BOOL=ON \ |
314
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
36 -DBUILD_DBG_MONITOR:BOOL=ON \ |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
37 -DBUILD_DBG_RT:BOOL=ON \ |
560
d300c5213e45
Fix broken packaging
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
436
diff
changeset
|
38 -DBUILD_RT_EREG:BOOL=ON \ |
314
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
39 -DBUILD_TEST_APP:BOOL=ON \ |
431
1bb1bc417efe
Reworked the packaging to include newest components
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
341
diff
changeset
|
40 -DBUILD_TEST_SIP:BOOL=ON |
314
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
41 |
48225b1db9d4
Added back missing files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
42 |