File: rules

package info (click to toggle)
amide 1.0.6-8.1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 9,080 kB
  • sloc: ansic: 53,310; cpp: 2,332; xml: 1,995; makefile: 678; sh: 129
file content (29 lines) | stat: -rwxr-xr-x 805 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
28
29
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export ACLOCAL = aclocal -I m4
export DEB_CFLAGS_MAINT_APPEND = -std=gnu17

%:
	dh $@ --no-parallel --sourcedirectory=amide-current/

override_dh_auto_configure:
	cp -v amide-current/help/C/amide.xml amide-current/help/C/index.docbook
	dh_auto_configure --sourcedirectory=amide-current/ -- \
		--disable-amide-debug \
		--config-cache \
		--disable-dependency-tracking \
		--prefix=/usr \
		--localstatedir=/var/lib/amide \
		--mandir=\$${prefix}/share/man \
		--infodir=\$${prefix}/share/info \
		--localstatedir=/var/lib/amide \
		LDFLAGS="-Wl,-z,defs $(LDFLAGS)"

# To create the docs this option would be needed but it causes build problems
# see doc/README
#		--enable-gtk-doc \


override_dh_auto_test:
	echo "Do not run autotest"