File: rules

package info (click to toggle)
lutefisk 1.0.7%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 1,896 kB
  • ctags: 1,229
  • sloc: ansic: 24,297; makefile: 18; sh: 15
file content (30 lines) | stat: -rwxr-xr-x 492 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
27
28
29
30
#!/usr/bin/make -f

export DH_VERBOSE=1

BUILDDIR=$(CURDIR)/debian/build

%:
	dh $@ --parallel

override_dh_auto_configure:
	mkdir -p $(BUILDDIR)

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

override_dh_auto_build: 

	$(MAKE) all -C $(BUILDDIR)

override_dh_clean:
	dh_clean
	-rm -rf $(BUILDDIR)

override_dh_installchangelogs:
	dh_installchangelogs HISTORY.txt

get-orig-source:
	@echo 'Getting the original source:'
	uscan --verbose || [ $$? -eq 1 ]