File: rules

package info (click to toggle)
ppc64-diag 2.7.9-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,456 kB
  • sloc: ansic: 29,337; cpp: 2,716; sh: 1,516; perl: 715; makefile: 488; yacc: 338; lex: 197
file content (18 lines) | stat: -rwxr-xr-x 583 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all


%:
	dh $@

override_dh_auto_install:
	make -j1 install DESTDIR=$(CURDIR)/debian/ppc64-diag AM_UPDATE_INFO_DIR=no
	chmod 644 $(CURDIR)/debian/ppc64-diag/etc/ppc64-diag/servevent_parse.pl
	find $(CURDIR)/debian/ppc64-diag/etc/ppc64-diag/message_catalog -type f -print0 | \
		xargs -0 chmod a-x
	install -d $(CURDIR)/debian/ppc64-diag/etc/ppc64-diag/ses_pages
	rm $(CURDIR)/debian/ppc64-diag/usr/share/doc/ppc64-diag/COPYING

override_dh_installinit:
	dh_installinit --name=rtas_errd
	dh_installinit --name=opal_errd