File: rules

package info (click to toggle)
zenlisp 2013.11.22-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 596 kB
  • sloc: ansic: 2,547; makefile: 55
file content (23 lines) | stat: -rwxr-xr-x 534 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
#!/usr/bin/make -f
#DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
		dh $@

PASS_TO_MAKE = prefix=/usr MANDIR=/usr/share/man/man1

override_dh_auto_build:
	dh_auto_build -- $(PASS_TO_MAKE)

override_dh_auto_install:
	dh_auto_install -- $(PASS_TO_MAKE)
	-rm --verbose debian/zenlisp/usr/share/zenlisp/LICENSE

get-orig-source:
	wget --quiet http://www.t3x.org/files/zenlisp.zip
	mk-origtargz -v $$(unzip -p zenlisp.zip '*/zl.c' \
		| egrep 'define.*RELEASE' \
		| tr '"-' ' .' \
		| awk '{print $$3}') zenlisp.zip