File: rules

package info (click to toggle)
hfsprogs 540.1.linux3-4
  • links: PTS, VCS
  • area: non-free
  • in suites: bullseye
  • size: 2,520 kB
  • sloc: ansic: 33,396; makefile: 103
file content (24 lines) | stat: -rwxr-xr-x 645 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
#!/usr/bin/make -f
# -*- makefile -*-

package=hfsprogs
tmpdir=debian/$(package)
shrdir=$(tmpdir)/usr/share/misc
docdir=$(tmpdir)/usr/share/doc/$(package)
mansec=8
mandir=$(tmpdir)/usr/share/man/man$(mansec)

%:
	dh $@

override_dh_auto_install:
	dh_testdir
	dh_testroot
	dh_prep
	dh_installdirs

	install -Dm 644 debian/hfsbootdata.img     $(shrdir)/hfsbootdata
	install -m 755 newfs_hfs.tproj/newfs_hfs   $(tmpdir)/sbin/mkfs.hfsplus
	install -m 755 fsck_hfs.tproj/fsck_hfs     $(tmpdir)/sbin/fsck.hfsplus
	install -m 644 newfs_hfs.tproj/newfs_hfs.8 $(mandir)/mkfs.hfsplus.8
	install -m 644 fsck_hfs.tproj/fsck_hfs.8   $(mandir)/fsck.hfsplus.8