File: rules

package info (click to toggle)
scheme9 2018.12.05-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 4,052 kB
  • sloc: lisp: 16,727; ansic: 11,534; sh: 499; makefile: 235; sed: 6
file content (24 lines) | stat: -rwxr-xr-x 562 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

mflags=prefix=/usr mandir=/usr/share/man

override_dh_auto_configure:

override_dh_auto_build:
	dh_auto_build -- $(mflags) all

override_dh_auto_install:
	dh_auto_install -- $(mflags) install-all
	echo "Rename binaries to avoid namespace pollution and collisions"
	cd debian/scheme9/usr/bin && \
	 for f in advgen c2html cols dupes edoc htmlify scm2html scmpp soccat; do \
	  mv --verbose $$f s9$$f || true; \
	 done

override_dh_installchangelogs:
	dh_installchangelogs -- HISTORY