File: rules

package info (click to toggle)
fstrcmp 0.7.D001-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,460 kB
  • sloc: sh: 3,493; ansic: 1,505; makefile: 455; awk: 110
file content (16 lines) | stat: -rwxr-xr-x 484 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
include /usr/share/dpkg/architecture.mk

%:
	dh $@

override_dh_auto_configure:
	sh configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc \
		--libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
		--mandir=/usr/share/man CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"

execute_after_dh_auto_install:
	-rm --verbose $(CURDIR)/debian/tmp/usr/lib/*/*.la
	-rm --verbose $(CURDIR)/debian/tmp/usr/share/man/man1/fstrcmp_license.1