File: rules

package info (click to toggle)
poedit 1.8.11-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,116 kB
  • ctags: 2,239
  • sloc: cpp: 20,600; sh: 4,213; makefile: 210; xml: 35
file content (31 lines) | stat: -rwxr-xr-x 882 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
29
30
31
#!/usr/bin/make -f

# export DH_VERBOSE=1

export LDFLAGS += -Wl,--as-needed
export LDFLAGS += -Wl,-z,relro

%:
	dh $@

override_dh_auto_configure:
	./bootstrap
	dh_auto_configure -- --disable-silent-rules --enable-debug

override_dh_auto_install:
	dh_auto_install
	mv debian/tmp/usr/bin/poedit debian/tmp/usr/bin/poeditor
	mv debian/tmp/usr/share/man/man1/poedit.1 debian/tmp/usr/share/man/man1/poeditor.1
	mkdir -p debian/tmp/usr/lib/poedit/
	mv debian/tmp/usr/lib/*/poedit-dump-legacy-tm debian/tmp/usr/lib/poedit/poedit-dump-legacy-tm

override_dh_install-indep:
	dh_install -ppoedit-common debian/tmp/usr/share/locale usr/share/
	dh_install -ppoedit-common debian/tmp/usr/share/poedit usr/share/
	find debian/poedit-common/usr/share/locale -type d -empty -delete

override_dh_installchangelogs:
	dh_installchangelogs NEWS

override_dh_strip:
	dh_strip --dbg-package=poedit-dbg