File: rules

package info (click to toggle)
gbemol 0.3.2-2
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 2,168 kB
  • ctags: 1,450
  • sloc: sh: 10,066; ansic: 8,228; makefile: 89
file content (18 lines) | stat: -rwxr-xr-x 588 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
#export DH_VERBOSE=1

DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)

override_dh_auto_configure:
	dh_auto_configure -- -host=$(DEB_HOST_GNU_TYPE) \
                             --build=$(DEB_BUILD_GNU_TYPE) \
                             --prefix=/usr \
                             --mandir=\$${prefix}/share/man \
                             --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)"

override_dh_installman:
	dh_installman $(CURDIR)/debian/gbemol.1

%:
	dh $@