File: rules

package info (click to toggle)
fdutils 5.5-20060227-8
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,568 kB
  • sloc: ansic: 6,296; sh: 3,081; makefile: 252; sed: 4
file content (28 lines) | stat: -rwxr-xr-x 574 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
28
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
#export DH_OPTIONS=-v

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --no-parallel

override_dh_auto_clean:
	dh_auto_clean
	[ ! -f src/Makefile ] || $(MAKE) -C src spotless

override_dh_auto_build:
	dh_auto_build -- all html

override_dh_auto_install:
	dh_auto_install
	( cd debian/fdutils && \
		mv usr/bin/MAKEFLOPPIES usr/sbin )

override_dh_installman:
	dh_installman
	( cd debian/fdutils/usr/share/man && \
		mv man1/makefloppies.1 man8/MAKEFLOPPIES.8 )