debian/rules: allow simple globs in po/.gitignore
commit4c0db985c3092aca24486961dfe0a2a3696cd10e
authorJonathan Nieder <jrnieder@gmail.com>
Mon, 18 Jan 2010 08:17:39 +0000 (18 02:17 -0600)
committerJonathan Nieder <jrnieder@gmail.com>
Mon, 18 Jan 2010 08:17:39 +0000 (18 02:17 -0600)
treed125b12d7cd3f103f8c71f596e3e5d30dd1eb286
parentd628c6481aed78798dea6692600fb6b902229661
debian/rules: allow simple globs in po/.gitignore

Add a perl script to interpret simple globs and comments in
po/.gitignore.  It is intentionally very restrictive: filenames are
only allowed to contain alphanumeric characters, dashes, at-signs, and
periods.

The only supported glob is a * at the beginning of a filename; this
restriction is posed not for ease of implementation but to avoid
pretending to support full filename globbing.  We only want globs to
match the current directory, but .gitignore syntax allows matching
subdirectories as well, so there has to be some awkwardness here.
debian/changelog
debian/clean.sh
debian/control