File: rules

package info (click to toggle)
tre 0.8.0-4
  • links: PTS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 6,592 kB
  • sloc: sh: 12,217; ansic: 9,887; makefile: 160; python: 44; sed: 16
file content (27 lines) | stat: -rwxr-xr-x 582 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
#!/usr/bin/make -f
%:
	dh $@

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

override_dh_auto_test:

override_dh_auto_configure:
	touch -d "2014-04-29 12:00" `cat debian/modified-files.txt`
	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