#!/usr/bin/make -f

PACKAGE = unhtml
CFLAGS = -g -Wall

ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
  CFLAGS += -O2
endif

override_dh_auto_build:
	$(MAKE) CFLAGS="$(CFLAGS)"

override_dh_auto_install:
	install -m 755 -D $(PACKAGE) debian/$(PACKAGE)/usr/bin/$(PACKAGE)

%:
	dh $@

# End of file
