File: rules

package info (click to toggle)
fake 1.1.11-3.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 364 kB
  • sloc: sh: 258; ansic: 103; makefile: 66
file content (17 lines) | stat: -rwxr-xr-x 423 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- patch all

override_dh_auto_install:
	$(MAKE) \
	    ROOT_DIR=$(CURDIR)/debian/`dh_listpackages` \
	    MAN8_DIR=$(CURDIR)/debian/`dh_listpackages`/usr/share/man/man8/ \
	    install
	rm -rf $(CURDIR)/debian/`dh_listpackages`/usr/doc
	rm -f $(CURDIR)/debian/`dh_listpackages`/etc/fake/instance_config/*