File: rules

package info (click to toggle)
lutefisk 1.0.7%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 3,380 kB
  • sloc: ansic: 24,297; makefile: 16; sh: 15
file content (26 lines) | stat: -rwxr-xr-x 461 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
25
26
#!/usr/bin/make -f

export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

BUILDDIR=$(CURDIR)/debian/build

%:
	dh $@

override_dh_auto_configure:
	mkdir -p $(BUILDDIR)

	cp -rpf src/* $(BUILDDIR)
	ln -s $(BUILDDIR)/Makefile.linux $(BUILDDIR)/Makefile

override_dh_auto_build: 
	dh_auto_build --builddirectory=$(BUILDDIR) -- all

override_dh_clean:
	dh_clean
	-rm -rf $(BUILDDIR)

override_dh_installchangelogs:
	dh_installchangelogs HISTORY.txt