File: rules

package info (click to toggle)
geeqie 1%3A1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 10,532 kB
  • ctags: 7,353
  • sloc: ansic: 76,157; xml: 5,942; cpp: 1,210; sh: 425; makefile: 412; perl: 131
file content (34 lines) | stat: -rwxr-xr-x 992 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
33
34
#!/usr/bin/make -f

%:
	dh $@ --parallel --fail-missing --with autoreconf,autotools_dev

# build simple version first #
override_dh_auto_configure:
	dh_auto_configure  -- \
		--with-htmldir=/usr/share/doc/geeqie/html \
		--with-readmedir=/usr/share/doc/geeqie/ \
		--enable-lirc \
		--disable-gtk3

override_dh_auto_install:
	mkdir -p $(CURDIR)/debian/tmp/usr/share/doc/geeqie/html
	dh_auto_install
	rm -f \
		$(CURDIR)/debian/tmp/usr/share/geeqie/template.desktop \
		$(CURDIR)/debian/tmp/usr/share/doc/geeqie/README.lirc \
		$(CURDIR)/debian/tmp/usr/share/doc/geeqie/ChangeLog \
		$(CURDIR)/debian/tmp/usr/share/doc/geeqie/TODO \
		$(CURDIR)/debian/tmp/usr/share/doc/geeqie/README \
		$(CURDIR)/debian/tmp/usr/share/doc/geeqie/COPYING

override_dh_compress:
	# Readme is shown from program, do not compress it
	dh_compress -XREADME

override_dh_strip:
	dh_strip -a --ddeb-migration='geeqie-dbg (<< 1:1.2.3-1~)'

override_dh_autoreconf:
	dh_autoreconf
	intltoolize --copy --force --automake