File: rules

package info (click to toggle)
le 1.16.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,848 kB
  • sloc: ansic: 30,032; cpp: 18,198; sh: 4,754; makefile: 112; perl: 82
file content (19 lines) | stat: -rwxr-xr-x 450 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS)))
        DEB_CONFIGURE_EXTRA_FLAGS += --with-debug
endif

%:
	dh $@

override_dh_clean:
	dh_clean
	find . -name 'Makefile.in' -delete
	rm -rf lib/Makefile configure lib/stamp-h1 lib/config.h src/config.h.in

override_dh_auto_configure:
	dh_auto_configure -- --with-curses-lib=/usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`

override_dh_installchangelogs:
	dh_installchangelogs NEWS