File: rules

package info (click to toggle)
hexter 1.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,628 kB
  • sloc: ansic: 14,105; makefile: 134; sh: 26
file content (21 lines) | stat: -rwxr-xr-x 590 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
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_autoreconf:
	# Remove aclocal.m4 to prevent FTBFS
	rm -f $(CURDIR)/aclocal.m4
	dh_autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --without-gtk2 --with-textui

override_dh_auto_install:
	dh_auto_install
	rm -f $(CURDIR)/debian/hexter/usr/lib/$(DEB_HOST_MULTIARCH)/dssi/hexter.la
	mv $(CURDIR)/debian/hexter/usr/lib/$(DEB_HOST_MULTIARCH)/dssi/ $(CURDIR)/debian/hexter/usr/lib/dssi/
	rm -fr $(CURDIR)/debian/hexter/usr/lib/$(DEB_HOST_MULTIARCH)/