4 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
12 DEB_BUILD_ARCH?=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
15 config.status: configure
17 ./configure --prefix=/usr --mandir=\$${prefix}/share/man
21 build-stamp: config.status
31 [ ! -f Makefile ] || $(MAKE) distclean
32 [ ! -f test/Makefile ] || $(MAKE) -C test distclean
40 $(MAKE) install DESTDIR=$(CURDIR)/debian/ragel/
42 binary-indep: build install
44 binary-arch: build install
49 dh_installdocs -n doc/ragel-guide.pdf
51 dh_installchangelogs ChangeLog
52 dh_compress -Xexamples
62 binary: binary-indep binary-arch
63 .PHONY: build clean binary-indep binary-arch binary install