#!/usr/bin/make -f #export DH_VERBOSE=1 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) BIN_PACKAGE = libpam-python DOC_PACKAGE = libpam-python-doc DOC_DIR = usr/share/doc/$(DOC_PACKAGE) DEB_BUILD_MAINT_OPTIONS ?= hardening=+bindnow ME=$(shell sed 's,\([^ ]*\) .*,\1,;q' debian/changelog) ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 endif ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) CFLAGS += -g endif .PHONY: get-orig-source get-orig-source: version=$(shell \ wget -O - "http://sourceforge.net/projects/$(ME)/files/" | \ sed -n 's;.*