File: rules

package info (click to toggle)
midish 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,344 kB
  • sloc: ansic: 22,502; sh: 268; makefile: 119
file content (20 lines) | stat: -rwxr-xr-x 478 bytes parent folder | download
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
 
%:
	dh $@

override_dh_auto_configure:
	./configure CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" --prefix=/usr --mandir=/usr/share/man

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	echo "Disable build time test"
endif

override_dh_auto_install:
	$(MAKE) DESTDIR=$(CURDIR)/debian/midish \
	    DOC_DIR=/usr/share/doc/midish \
	    EXAMPLES_DIR=/usr/share/doc/midish/examples \
	    install