3 # Uncomment this to turn on verbose mode.
8 # These are used for cross-compiling and for saving the configure script
9 # from having to guess our platform (since we know it already)
10 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
11 DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
13 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
18 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
22 config.status: configure
24 ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
27 build-stamp: config.status
40 # ifneq "$(wildcard /usr/share/misc/config.sub)" ""
41 # cp -f /usr/share/misc/config.sub config.sub
43 # ifneq "$(wildcard /usr/share/misc/config.guess)" ""
44 # cp -f /usr/share/misc/config.guess config.guess
54 $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
57 binary-arch: build install
60 dh_installchangelogs -s ChangeLog
62 # dh_installexamples -s
68 dh_makeshlibs -p libeditex0
76 .PHONY: build clean binary-arch binary install