File: rules

package info (click to toggle)
amide 1.0.5-13
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 6,428 kB
  • sloc: ansic: 50,849; sh: 11,297; cpp: 2,032; xml: 1,655; makefile: 645
file content (32 lines) | stat: -rwxr-xr-x 738 bytes parent folder | download
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
30
31
32
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all


export ACLOCAL = aclocal -I m4

%:
	dh $@ --no-parallel

override_dh_auto_configure:
	mv help/C/amide.xml help/C/index.docbook
	dh_auto_configure -- \
		--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 \
                --disable-gconf \
                --disable-gnome-vfs \
		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"