File: rules

package info (click to toggle)
webfs 1.21%2Bds1-12
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, stretch
  • size: 1,188 kB
  • ctags: 1,570
  • sloc: ansic: 3,293; sh: 418; makefile: 20; perl: 7
file content (28 lines) | stat: -rwxr-xr-x 636 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

DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_BUILD_MAINT_OPTIONS

builddir = debian/webfs
installdir = $(CURDIR)/$(builddir)

%:
	dh $@

override_dh_auto_build:
	test -f Make.config || cp debian/Make.config ./
	$(MAKE) verbose=yes prefix=/usr
	dh_auto_build

override_dh_auto_install:
	# Do nothing

override_dh_install:
	$(MAKE) install  \
			prefix=$(installdir)/usr \
			mandir=$(installdir)/usr/share/man
	install -d $(installdir)/usr/share/webfs
	install -m 0644 debian/webfsd.conf \
		$(installdir)/usr/share/webfs/webfsd.conf.auto
	dh_install --sourcedir=$(builddir)
	dh_installchangelogs -a -k README