File: rules

package info (click to toggle)
wxmaxima 16.04.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 12,964 kB
  • ctags: 3,152
  • sloc: cpp: 32,018; sh: 3,840; lisp: 1,501; makefile: 395; xml: 77
file content (27 lines) | stat: -rwxr-xr-x 564 bytes parent folder | download | duplicates (2)
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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

export DEB_CXXFLAGS_MAINT_APPEND = -Wall -DNDEBUG
export DEB_LDFLAGS_MAINT_APPEND  = -Wl,--as-needed

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --enable-printing

override_dh_auto_build:
	make
	make allmo

override_dh_auto_install:
	dh_auto_install
	rm debian/wxmaxima/usr/share/wxMaxima/COPYING

get-orig-source:
	uscan --force-download --repack --rename --destdir .

.PHONY: get-orig-source