4 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
12 DEB_BUILD_ARCH?=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
18 config.status: configure
20 ./configure --prefix=/usr
24 build-stamp: config.status
33 [ ! -f Makefile ] || $(MAKE) distclean
34 [ ! -f test/Makefile ] || $(MAKE) -C test distclean
42 $(MAKE) install SUBDIRS=ragel DESTDIR=$(CURDIR)/debian/ragel
44 binary-indep: build install
46 binary-arch: build install
58 binary: binary-indep binary-arch
59 .PHONY: build clean binary-indep binary-arch binary install