1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#!/usr/bin/make -f
# debian/rules for findimagedupes using cdbs
# Andreas Tille <tille@debian.org>, GPL
pkg:=findimagedupes
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/rules/debhelper.mk
# include /usr/share/cdbs/1/class/perlmodule.mk
DEB_DH_PERL_ARGS := usr/lib/findimagedupes/lib/auto/findimagedupes
clean::
rm -fr ./$(pkg)_tmp ./tmp findimagedupes.1
build/findimagedupes::
sed "s?/usr/lib/$(pkg)?./tmp?g" $(pkg) > $(pkg)_tmp
mkdir -p ./tmp
chmod 755 $(pkg)_tmp
./$(pkg)_tmp
pod2man findimagedupes > findimagedupes.1
|