File: rules

package info (click to toggle)
imview 1.1.9c-17
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,080 kB
  • ctags: 5,892
  • sloc: cpp: 28,743; sh: 2,624; ansic: 1,818; makefile: 725; exp: 112; python: 88
file content (29 lines) | stat: -rwxr-xr-x 712 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
#!/usr/bin/make -f

%:
	dh $@ --parallel

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

override_dh_auto_configure:
	dh_testdir
	-rm -f config.sub config.guess
	ln -s /usr/share/misc/config.sub config.sub
	ln -s /usr/share/misc/config.guess config.guess
	mv configure configure.original
	autoconf
	dh_auto_configure

override_dh_auto_clean:
	dh_auto_clean
	-mv configure.original configure
	-rm -f config.status imview.list imcfg.h null.h stamp-h
	-rm -f Makefile fluid/Makefile io/Makefile server/Makefile
	-rm -f makedepend fluid/makedepend io/makedepend server/makedepend

override_dh_installchangelogs:
	dh_installchangelogs ChangeLog

override_dh_installman:
	dh_installman doc/imview.1