File: rules

package info (click to toggle)
tre 0.8.0-6
  • links: PTS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 6,620 kB
  • ctags: 1,032
  • sloc: sh: 12,217; ansic: 9,894; makefile: 159; python: 44; sed: 16
file content (25 lines) | stat: -rwxr-xr-x 558 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f
%:
	dh $@

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

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