File: rules

package info (click to toggle)
xarchiver 1%3A0.5.4.17-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,680 kB
  • sloc: ansic: 16,412; sh: 4,053; makefile: 219
file content (20 lines) | stat: -rwxr-xr-x 625 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
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --without autoreconf

override_dh_auto_configure:
	./autogen.sh
	dh_auto_configure -- --libexecdir=/usr/lib

override_dh_auto_install:
	dh_auto_install --destdir=$(CURDIR)/debian/xarchiver
	# removing useless files
	rm -f debian/xarchiver/usr/share/doc/xarchiver/AUTHORS
	rm -f debian/xarchiver/usr/share/doc/xarchiver/COPYING
	rm -f debian/xarchiver/usr/share/doc/xarchiver/NEWS
	rm -f debian/xarchiver/usr/share/doc/xarchiver/README
	rm -f debian/xarchiver/usr/share/doc/xarchiver/ChangeLog
	rm -f debian/xarchiver/usr/share/doc/xarchiver/TODO