File: rules

package info (click to toggle)
tre 0.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,900 kB
  • sloc: ansic: 9,708; sh: 4,977; makefile: 164; sed: 16
file content (30 lines) | stat: -rwxr-xr-x 613 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
%:
	dh $@

override_dh_clean:
	dh_clean
	cd po && rm -f *.gmo

override_dh_auto_configure:
	dh_auto_configure -- --enable-static

override_dh_auto_build:
	dh_auto_build
	$(MAKE) -C po update-gmo

override_dh_auto_install:
	dh_auto_install
	mv debian/tmp/usr/bin/agrep \
	   debian/tmp/usr/bin/tre-agrep
	mv debian/tmp/usr/share/man/man1/agrep.1 \
	   debian/tmp/usr/share/man/man1/tre-agrep.1

override_dh_installdocs:
	dh_installdocs --link-doc=libtre5 NEWS README.md THANKS TODO

override_dh_installchangelogs:
	dh_installchangelogs --no-trim

override_dh_missing:
	dh_missing --list-missing