File: rules

package info (click to toggle)
wkhtmltopdf 0.12.6-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 772 kB
  • sloc: cpp: 6,148; ansic: 80; makefile: 23
file content (20 lines) | stat: -rwxr-xr-x 485 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export QT_SELECT=qt5

override_dh_auto_install:
	# skip auto install and build/install manpages separately
	$(MAKE) -C src/pdf install_man INSTALL_ROOT=$(CURDIR)/debian/wkhtmltopdf/usr
	$(MAKE) -C src/image install_man INSTALL_ROOT=$(CURDIR)/debian/wkhtmltopdf/usr

clean:
#	# Binaries not removed properly
	rm -rf bin
	# Remove build objects
	find -iname 'moc_*.*' -delete
	find -iname '*.o' -delete
	dh $@

%:
	dh $@