File: rules

package info (click to toggle)
popa3d 1.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 368 kB
  • ctags: 325
  • sloc: ansic: 2,242; sh: 104; makefile: 60
file content (14 lines) | stat: -rwxr-xr-x 378 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

override_dh_auto_build:
	dh_auto_build -- LDFLAGS="$(LDFLAGS)" LIBS="-lpam" PREFIX=/usr MANDIR=/usr/share/man CFLAGS="$(CFLAGS)"

override_dh_auto_install:
	dh_auto_install -- DESTDIR=$(CURDIR)/debian/popa3d PREFIX=/usr MANDIR=/usr/share/man 

export $LDFLAGS $LIBS $PREFIX $MANDIR
%:
	dh $@