File: rules

package info (click to toggle)
tre 0.8.0-3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 2,640 kB
  • sloc: sh: 10,135; ansic: 9,887; makefile: 159; python: 44; sed: 16
file content (26 lines) | stat: -rwxr-xr-x 521 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
%:
	dh $@

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

override_dh_auto_test:

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 THANKS TODO