#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@

execute_before_dh_clean:
	$(RM) -f en/sgml/*.html

execute_after_dh_auto_install-indep:
	$(RM) -rf $(CURDIR)/debian/partimage-doc/usr/share/man
	install -d $(CURDIR)/debian/partimage-doc/usr/share/doc/partimage-doc/sgml
	mv $(CURDIR)/debian/partimage-doc/usr/share/doc/partimage-doc/html/index.sgml* \
	$(CURDIR)/debian/partimage-doc/usr/share/doc/partimage-doc/sgml
	mv $(CURDIR)/debian/partimage-doc/usr/share/doc/partimage-doc/html/faq.sgml* \
	$(CURDIR)/debian/partimage-doc/usr/share/doc/partimage-doc/sgml
