File: rules

package info (click to toggle)
djview4 4.10.6-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,660 kB
  • ctags: 4,359
  • sloc: cpp: 21,970; ansic: 9,538; sh: 231; makefile: 229; awk: 94; xml: 84
file content (24 lines) | stat: -rwxr-xr-x 624 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
#!/usr/bin/make -f

export QT_SELECT = 5

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

plugindir=/usr/lib/mozilla/plugins

override_dh_auto_install:
	dh_auto_install -- \
		pluginsdir=$(plugindir) \
		DESTDIR=$(CURDIR)/debian/tmp
	@echo "rename djview as djview4 to allow debian alternatives"
	mv debian/tmp/usr/bin/djview debian/tmp/usr/bin/djview4
	mv debian/tmp/usr/share/man/man1/djview.1 debian/tmp/usr/share/man/man1/djview4.1

override_dh_installchangelogs:
	dh_installchangelogs NEWS

override_dh_makeshlibs:
	dh_makeshlibs --version-info --exclude=/plugins

%:
	dh $@ --with autotools_dev,autoreconf --parallel