File: rules

package info (click to toggle)
putty 0.74-1%2Bdeb11u2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 13,020 kB
  • sloc: ansic: 114,140; python: 4,372; perl: 3,511; sh: 1,563; makefile: 167
file content (43 lines) | stat: -rwxr-xr-x 833 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#! /usr/bin/make -f
%:
	dh $@ --with=autoreconf --parallel

ptermtmp = debian/pterm

export DEB_BUILD_MAINT_OPTIONS := hardening=+all
export DEB_CPPFLAGS_MAINT_APPEND := -D_FILE_OFFSET_BITS=64

autoreconf:
	./mkfiles.pl
	autoreconf -fi
	rm -rf autom4te.cache

override_dh_autoreconf-arch:
	dh_autoreconf debian/rules -- autoreconf

override_dh_autoreconf-indep:

override_dh_auto_configure-arch:
	dh_auto_configure -- --disable-git-commit

override_dh_auto_configure-indep:

override_dh_auto_build-arch:
	dh_auto_build
	-$(MAKE) -C icons cicons pngs

override_dh_auto_build-indep:

override_dh_auto_test-indep:

override_dh_auto_clean:
	dh_auto_clean
	$(MAKE) -C icons clean

override_dh_compress:
	dh_compress -X.py

override_dh_fixperms-arch:
	dh_fixperms
	chgrp utmp $(ptermtmp)/usr/bin/pterm
	chmod g+s $(ptermtmp)/usr/bin/pterm