File: rules

package info (click to toggle)
djview4 4.12.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,792 kB
  • sloc: cpp: 22,307; ansic: 9,746; sh: 392; makefile: 229; awk: 94; xml: 84
file content (23 lines) | stat: -rwxr-xr-x 634 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

export QT_SELECT = qt5

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

override_dh_auto_configure:
	dh_auto_configure -- --disable-nsdejavu --enable-debug

# Set V=1 for a verbose build, as ./configure --disable-silent-rules seems insufficient.
override_dh_auto_build:
	dh_auto_build -- V=1

execute_after_dh_auto_install:
	@echo "rename djview as djview4 to allow debian alternatives"
	mv debian/djview4/usr/bin/djview debian/djview4/usr/bin/djview4
	mv debian/djview4/usr/share/man/man1/djview.1 debian/djview4/usr/share/man/man1/djview4.1

override_dh_installchangelogs:
	dh_installchangelogs NEWS

%:
	dh $@