#!/bin/sh
set -C -e -f -u -v
rm -rf build.in/portableapps
# Contains a GPL-2 copy, but some files mention the BSD license.
# Windows binary: TaskCoachPortable.exe.
# See http://portableapps.com/.
rm -rf build.in/winpenpack
# Non DFSG license (winPenPack License Agreement v1.0)
# Windows binary: X-TaskCoach.exe.
# See http://www.winpenpack.com/en/news.php.
rm -rf dist.in
# Windows binaries: *.dll (Visual 9 runtime).
rm -rf extension/macos
# Mac binaries: *.so (convenience for developers without xcode).
rm -f i18n.in/messages.pot
# Generated during compilation, mentioning the build date.
# Upstream insists on keeping it for Launchpad integration.
rm -rf taskcoachlib/bin.in
# Mac and Windows binaries: *.so *.pyd (python dynamic library).
# Upstream intends to drop pysyncml dependency for license reasons anyways.
rm -f tests/disttests/win32/sendinput/sendinput.pyd.
# Windows binary (python dynamic library).
rm -f tools/webchecker.py
# No license, but a copyright claimer.
# Obsolete, once used by upstream to check website availability.
rm -rf website.in
# Part only used to rebuild the upstream website.
# website.in/css/jquery.lightbox-0.5.css and
# website.in/js/jquery.lightbox-0.5.min.css have a suspicious license
# (CCAttribution-ShareAlike 2.5 Brazil
# http://creativecommons.org/licenses/by-sa/2.5/br/deed.en_US).
