blob: 5e8935badc7895caee626a3f53b422131e2f7d6b (
plain)
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
|
#!/usr/bin/make -f
#include /usr/share/quilt/quilt.make
#export DH_VERBOSE=1
export DH_OPTIONS
#
# Hardening
#
export DEB_BUILD_HARDENING=1
%:
dh $@
override_dh_install:
dh_install
./install --text --prefix=$(CURDIR)/debian/gcstar/usr
install -D -m 0644 share/applications/gcstar.xml \
debian/gcstar/usr/share/mime/packages/gcstar.xml
#
# remove misplaced manpage
#
rm -f debian/gcstar/usr/man/man1/gcstar.1.gz
rmdir --ignore-fail-on-non-empty debian/gcstar/usr/man/man1
rmdir --ignore-fail-on-non-empty debian/gcstar/usr/man
#
# remove additional licenses
#
rm -f debian/gcstar/usr/share/gcstar/fonts/COPYING
rm -f debian/gcstar/usr/share/gcstar/fonts/License.txt
rm -f debian/gcstar/usr/share/gcstar/LICENSE
override_dh_installman:
dh_installman man/gcstar.1
|