2
# Sample debian/rules that uses debhelper.
3
# GNU copyright 1997 to 1999 by Joey Hess.
5
# Uncomment this to turn on verbose mode.
8
# This is the debhelper compatibility version to use.
13
export CFLAGS = -W -Wall -g -c
15
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
20
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
24
configure: configure-stamp
27
# Add here commands to configure the package.
34
build-stamp: configure-stamp
37
# Add here commands to compile the package.
39
#/usr/bin/docbook-to-man debian/eukleides.sgml > eukleides.1
42
tar -kxvvzf eukleides_html.tar.gz ;
49
rm -f build-stamp configure-stamp
51
# Add here commands to clean up after the build process.
55
rm -fR ./eukleides_html ;
56
rm -f eukleides_html.tar.gz ;
66
# Add here commands to install the package into debian/eukleides.
67
$(MAKE) install DESTDIR=$(CURDIR)/debian/eukleides
70
# Build architecture-independent files here.
71
binary-indep: build install
72
# We have nothing to do by default.
74
# Build architecture-dependent files here.
75
binary-arch: build install
82
dh_installinfo eukleides.info
94
binary: binary-indep binary-arch
95
.PHONY: build clean binary-indep binary-arch binary install configure