#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --with-libcrypto=none
	cd manual && $(MAKE) manual.html

override_dh_clean:
	-rm manual/manual.html
	cp -a configure configure.save
	dh_clean
	mv configure.save configure

override_dh_auto_install:
	# NOP

override_dh_installchangelogs:
	dh_installchangelogs NEWS


check: build
	test -f debian/rules
	cd test && ./try
