File: rules

package info (click to toggle)
pente 2.2.5-8
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,252 kB
  • sloc: ansic: 19,587; sh: 152; makefile: 47
file content (19 lines) | stat: -rwxr-xr-x 294 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

%:
	dh $@ --without autoreconf

CMD=$(subst override_,,$@)

override_dh_auto_configure:
	autoconf
	$(CMD)

override_dh_clean:
	$(CMD)
	rm -fr obj-*
	dh_clean

override_dh_auto_install:
	# it ignores DESTDIR, so lets just do it ourselves
	mv $(shell readlink -f pente) pente