File: rules

package info (click to toggle)
newlisp 10.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 8,460 kB
  • ctags: 4,357
  • sloc: ansic: 33,202; lisp: 7,369; java: 7,012; sh: 647; makefile: 273
file content (18 lines) | stat: -rwxr-xr-x 574 bytes parent folder | download | duplicates (2)
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 $@ --parallel

override_dh_auto_configure:
#	The configure script is hand-made and does not accept options.
	./configure

override_dh_auto_install:
#	Ugh.  This is a hack needed because there is no way to provide
#	DESTDIR to the makefiles.
	make install_home HOME=$(CURDIR)/debian/newlisp/usr/
	rm -f $(CURDIR)/debian/newlisp/usr/share/doc/newlisp/COPYING
	rm -f $(CURDIR)/debian/newlisp/usr/share/doc/newlisp/guiserver/COPYING
	chmod +x $(CURDIR)/debian/newlisp/usr/share/newlisp/util/syntax.cgi