#!/bin/sh
set -C -e -f -u -v

# debian/dfsg_cleaner: remove parts of pristine upstream tarball not
# embedded in the DFSG tarball. This script is used when merging a new
# upstream version into the dfsg_clean git branch.

# See debian/copyright for the motivation of these removals.

git rm --force -r --ignore-unmatch -- \
 `find . -name "*.xcodeproj"` \
 "Asset Source" \
 Doc/OoliteReadMe.pdf \
 Doc/OoliteRS.pdf \
 debian \
 deps/Cocoa-deps \
 deps/Cross-platform-deps \
 deps/Linux-deps/x86 \
 deps/Linux-deps/x86_64 \
 deps/Windows-x86-deps \
 src/Core/OOPlanetData.[ch]
