-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-
-configure: configure-stamp
-configure-stamp: $(QUILT_STAMPFN)
- dh_testdir
- touch $@
-
-build: build-stamp
-build-stamp: configure-stamp
- dh_testdir
- CFLAGS="$(CFLAGS)" $(MAKE)
- CFLAGS="$(CFLAGS)" $(MAKE) test
- touch $@
-
-clean: unpatch
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp install-stamp
- $(MAKE) clean