#!/usr/bin/perl
# this scripts installs the files needed for the debian distribution
# in the directory tree where the root is debian/packagesearch
# there the dpkg-buildpackage script will collect the files needed
# for the distribution

# directories are created int the rules script
`install src/packagesearch debian/packagesearch/usr/bin/`;
`install -m 644 icons/packagesearch.png debian/packagesearch/usr/share/pixmaps/`;
`install -m 644 icons/packagesearch-whatsThis.png debian/packagesearch/usr/share/pixmaps/`;

# needed for the debian menu
`install -m 644 icons/packagesearch.xpm debian/packagesearch/usr/share/pixmaps/`;

# make the changelog file lower case
`cp CHANGELOG debian/packagesearch/usr/share/doc/packagesearch/changelog`;

#install the documentation
# done by dh_installdocs now
# `install doc/* debian/packagesearch/usr/share/doc/packagesearch/`;

`install src/plugins/lib*so debian/packagesearch/usr/lib/packagesearch`;
