File: rules

package info (click to toggle)
see 0.72-6
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 1,216 kB
  • ctags: 230
  • sloc: ansic: 2,691; sh: 1,072; makefile: 51
file content (40 lines) | stat: -rwxr-xr-x 858 bytes parent folder | download | duplicates (3)
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
35
36
37
38
39
40
#!/usr/bin/make -f

PACKAGE = seetxt

export DEB_BUILD_MAINT_OPTIONS	= hardening=+all
export DEB_CFLAGS_MAINT_APPEND	= -Wall -pedantic -D_FILE_OFFSET_BITS=64
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

include debian/debian-save-restore.mk

FILE_LIST_PRESERVE = configure config.h.in

override_dh_clean:
	$(file-state-save)
	dh_clean
	# Build system: overwrites this with a symlink
	rm -f seeman.1
	rm -f debian/*.log

override_dh_auto_test:
	# Skip. Nothing to do.

override_dh_auto_build:
	dh_auto_build
	$(file-state-restore-copy)

override_dh_auto_configure:
	# See Bug#660858. For some reason in some archs configure fails
	# without this.
	dh_auto_configure -- -srcdir=.

override_dh_auto_install:
	dh_auto_install
	install -D -m 644 debian/seetxt.desktop \
	    debian/$(PACKAGE)/usr/share/applications/seetxt.desktop

%:
	dh $@

# End of file