3 # Uncomment this to turn on verbose mode.
6 # These are used for cross-compiling and for saving the configure script
7 # from having to guess our platform (since we know it already)
8 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
9 DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
11 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
16 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
20 config.status: configure
22 ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
25 build-stamp: config.status
38 # ifneq "$(wildcard /usr/share/misc/config.sub)" ""
39 # cp -f /usr/share/misc/config.sub config.sub
41 # ifneq "$(wildcard /usr/share/misc/config.guess)" ""
42 # cp -f /usr/share/misc/config.guess config.guess
52 $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
55 binary-arch: build install
58 dh_installchangelogs -s ChangeLog
60 # dh_installexamples -s
66 dh_makeshlibs -p libeditex0
74 .PHONY: build clean binary-arch binary install