File: rules

package info (click to toggle)
cpio 2.15%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,264 kB
  • sloc: ansic: 57,038; sh: 8,577; yacc: 1,853; makefile: 155; sed: 16
file content (20 lines) | stat: -rwxr-xr-x 504 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_configure:
	dh_testdir
	dh_auto_configure -- --enable-mt

	touch tests/testsuite tests/package.m4

override_dh_install:
	dh_install
	rm -rf debian/cpio/usr/libexec
	rm -rf debian/cpio/usr/share/man/man8/rmt.8
	mv debian/cpio/usr/bin/mt debian/cpio/usr/bin/mt-gnu
	mv debian/cpio/usr/share/man/man1/mt.1 \
	  debian/cpio/usr/share/man/man1/mt-gnu.1
	install -Dm 644 NEWS README -t debian/cpio/usr/share/doc/cpio/
	gzip -9nv debian/cpio/usr/share/doc/cpio/*