equal
deleted
inserted
replaced
6 # dh-make output file, you may use that output file without restriction. |
6 # dh-make output file, you may use that output file without restriction. |
7 # This special exception was added by Craig Small in version 0.37 of dh-make. |
7 # This special exception was added by Craig Small in version 0.37 of dh-make. |
8 |
8 |
9 # Uncomment this to turn on verbose mode. |
9 # Uncomment this to turn on verbose mode. |
10 #export DH_VERBOSE=1 |
10 #export DH_VERBOSE=1 |
|
11 root=debian/littlebird-tc-core |
11 |
12 |
12 %: |
13 %: |
13 dh $@ |
14 dh $@ |
14 |
15 |
15 override_dh_install: |
16 override_dh_install: |
16 @dh_install |
17 @dh_install |
17 @cd debian/littlebird-tc-core/srv/www/littlebird/CA/certs \ |
18 @cd ${root}/usr/lib/littlebird-tc/CA/certs \ |
18 && { \ |
19 && { \ |
19 test -f Trustcenter_CA_LB.pem || cp -av Test_Trustcenter_CA_LB.pem Trustcenter_CA_LB.pem; \ |
20 test -f Trustcenter_CA_LB.pem || cp -av Test_Trustcenter_CA_LB.pem Trustcenter_CA_LB.pem; \ |
20 test -f Trustcenter_CA.pem || cp -av Test_Trustcenter_CA.pem Trustcenter_CA.pem; \ |
21 test -f Trustcenter_CA.pem || cp -av Test_Trustcenter_CA.pem Trustcenter_CA.pem; \ |
21 } |
22 } |
|
23 mv ${root}/usr/lib/littlebird-tc/TrustCenter/data/logs ${root}/var/log/littlebird-tc |
|
24 mv ${root}/usr/lib/littlebird-tc/TrustCenter/data/* ${root}/var/lib/littlebird-tc/ |
|
25 |
|
26 override_dh_link: |
|
27 @dh_link |
|
28 for dir in ${root}/var/lib/littlebird-tc/*; do \ |
|
29 dir=`basename $$dir`; \ |
|
30 dh_link --package littlebird-tc-core /var/lib/littlebird-tc/$$dir /usr/lib/littlebird-tc/TrustCenter/data/$$dir ;\ |
|
31 done |
|
32 |
|
33 |
22 |
34 |
23 |
35 |
24 # to speed up things during build process |
36 # to speed up things during build process |
25 override_dh_strip: ; true |
37 override_dh_strip: ; true |
26 override_dh_shlibdeps: ; true |
38 override_dh_shlibdeps: ; true |