File: rules

package info (click to toggle)
flake 0.11-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, trixie
  • size: 368 kB
  • sloc: ansic: 3,590; sh: 797; makefile: 178
file content (14 lines) | stat: -rwxr-xr-x 412 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

%:
	dh $@ --no-parallel

override_dh_auto_configure:
	CFLAGS="$(CFLAGS) $(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure --cpu=$(DEB_HOST_ARCH) --disable-strip --prefix=/usr

override_dh_auto_install:
	DESTDIR=$(CURDIR)/debian/flake $(MAKE) install-progs
	DESTDIR=$(CURDIR)/debian/libflake-dev $(MAKE) install-libs install-headers

override_dh_installchangelogs:
	dh_installchangelogs Changelog