File: rules

package info (click to toggle)
amora-server 1.2~svn%2Bgit2015.04.25-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 1,816 kB
  • sloc: sh: 11,358; ansic: 1,886; cpp: 283; makefile: 138
file content (30 lines) | stat: -rwxr-xr-x 663 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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@ --with autotools-dev

override_dh_auto_configure:
	cd amora-cli && autoreconf -f -i
	dh_auto_configure -D amora-cli
	# Does qmake-qt4 support cross-compiling?
	$(MAKE) amora-applet/Makefile

override_dh_clean:
	# Remove any amora-screenshot.png which usually result from testing
	# the package
	find . -name amora-screenshot.png -delete

	dh_clean 

override_dh_auto_install:
	dh_auto_install -D amora-cli

	# Remove installed .la file
	rm -v $(CURDIR)/debian/*/usr/lib/*/libamora.la