2
# $Id: rules 0 2003-06-18 03:57:34Z bob $
3
# Sample debian/rules that uses debhelper.
4
# This file is public domain software, originally written by Joey Hess.
6
# from autotools-dev README.Debian
7
export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
8
export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
10
ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
11
confflags += --build $(DEB_HOST_GNU_TYPE)
13
confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
17
ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
22
config.status: configure
26
--mandir=\$${prefix}/share/man
29
build-stamp: config.status
38
[ ! -f Makefile ] || $(MAKE) distclean
46
$(MAKE) prefix=$(CURDIR)/debian/pgpdump/usr install
48
# Build architecture-independent files here.
49
binary-indep: build install
50
# We have nothing to do by default.
52
# Build architecture-dependent files here.
53
binary-arch: build install
56
dh_installchangelogs CHANGES
68
binary: binary-indep binary-arch
69
.PHONY: build clean binary-indep binary-arch binary install
2
# Jose Luis Rivas <ghostbar38@gmail.com
3
# This script is for public domain, feel free to reuse it in any way
5
include /usr/share/cdbs/1/rules/debhelper.mk
6
include /usr/share/cdbs/1/class/autotools.mk
8
DEB_MAKE_INSTALL_TARGET := install prefix=$(CURDIR)/debian/pgpdump/usr