File: rules

package info (click to toggle)
lightspeed 1.2a-10
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 2,216 kB
  • ctags: 2,123
  • sloc: ansic: 18,948; sh: 7,222; makefile: 497; yacc: 288; cpp: 163; sed: 16
file content (32 lines) | stat: -rwxr-xr-x 771 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
31
32
#!/usr/bin/make -f

DEBIAN_PATH  := $(abspath $(dir $(firstword $(MAKEFILE_LIST))))

%:
	dh $@ --parallel

override_dh_auto_configure:
	ln -sf /usr/share/misc/config.guess config/config.guess
	ln -sf /usr/share/misc/config.sub config/config.sub
	dh_auto_configure -- --with-gtk=2 --with-ftgl

override_dh_auto_clean:
	dh_testroot
	dh_auto_clean
	rm -f build-stamp
	rm -f po/es.gmo po/stamp-po
	rm -f config/config.guess config/config.sub

override_dh_auto_build:
	dh_auto_build -- LDFLAGS+=-Wl,--as-needed
	cd po ; $(MAKE) es.gmo

override_dh_auto_install:
	$(MAKE) install DESTDIR=$(CURDIR)/debian/lightspeed

.PHONY: override_dh_strip
override_dh_strip:
	dh_strip

get-orig-source:
	uscan --noconf --verbose --force-download --rename $(DEBIAN_PATH) --destdir $(CURDIR)