debian swirl logo

Back to the packages list findimagedupes

#!/usr/bin/make -f
# debian/rules for findimagedupes using cdbs
# Andreas Tille , GPL

pkg:= findimagedupes

include /usr/share/cdbs/1/rules/
include /usr/share/cdbs/1/class/

DEB_DH_PERL_ARGS := usr/lib/findimagedupes/lib
DEB_MAKEMAKER_USER_FLAGS := LIB=/usr/lib/findimagedupes/lib


	# Bug #531145: Removing installation instructions from the manpage, as
	# they are useless if the package is installed. Upstream has no other
	# documentation, so this section will stay in upstream's version.
	if grep -q '^= head1 INSTALLATION' $(pkg); then \
        sed -i.pristine '/^= head1 INSTALLATION/,/^=head1 /{/^=head1 OPTIONS/p;d;}' \
			$(pkg); fi
	# Upstream has now updated README himself in version 2.18
	# It might be reasonable to create the README this way anyway
	# pod2text findimagedupes > ./tmp/README

		[ ! -f findimagedupes.pristine ] || mv findimagedupes.pristine findimagedupes


finds visually similar or duplicate images