File: rules

package info (click to toggle)
garlic 1.6-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 4,516 kB
  • sloc: ansic: 52,465; makefile: 2,254
file content (19 lines) | stat: -rwxr-xr-x 384 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

PACKAGE := garlic

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_clean:
	dh_clean *.o garlicrc garlic

override_dh_auto_build:
	dh_auto_build -- CCOPT="$(CFLAGS)"
	cp .garlicrc garlicrc

override_dh_compress:
	dh_compress -Xusr/share/doc/$(PACKAGE)/examples
	chmod 644 $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/examples/*.script