File: rules

package info (click to toggle)
terminatorx 4.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,464 kB
  • sloc: cpp: 13,364; ansic: 2,422; sh: 1,272; makefile: 135; xml: 94; awk: 3
file content (29 lines) | stat: -rwxr-xr-x 808 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

DEB_HOST_ARCH_OS    ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)

ifeq (linux,$(DEB_HOST_ARCH_OS))
	EXTRA_CONFIGURE := --enable-capabilities
endif

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_autoreconf:
	dh_autoreconf --as-needed

override_dh_auto_configure:
	dh_auto_configure -- \
                      --enable-mpg123=/usr/bin/mpg321 \
                      $(EXTRA_CONFIGURE) \
                      gnomedatadir=/usr/share/ \
                      gnomepresent=yes

override_dh_auto_install:
	dh_auto_install
	# install the appdata file in the correct dir
	mkdir debian/terminatorx/usr/share/metainfo
	mv debian/terminatorx/usr/share/appdata/terminatorX.appdata.xml debian/terminatorx/usr/share/metainfo/
	rm -fr debian/terminatorx/usr/share/appdata