File: rules

package info (click to toggle)
squashfs-tools 1%3A4.3-3%2Bdeb9u1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,892 kB
  • ctags: 4,274
  • sloc: ansic: 16,346; makefile: 155
file content (27 lines) | stat: -rwxr-xr-x 703 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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_CFLAGS_MAINT_APPEND = -fgnu89-inline

%:
	dh ${@} --sourcedirectory=squashfs-tools/ --parallel

override_dh_auto_configure:
	dh_auto_configure -- $(shell dpkg-buildflags --export=cmdline)

override_dh_auto_build:
	LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1 LZO_SUPPORT=1 XZ_SUPPORT=1 dh_auto_build

override_dh_auto_install:
	dh_auto_install -- INSTALL_DIR=$(CURDIR)/debian/squashfs-tools/usr/bin

override_dh_builddeb:
	dh_builddeb -- -Zxz

override_dh_strip:
	dh_strip --dbg-package=squashfs-tools-dbg

.PHONY: override_dh_auto_build override_dh_auto_install override_dh_strip override_dh_builddeb