Skip to content
Permalink
Browse files

Add entries to .gitignore file, check for intltool (#364)

* Add some .gitignore entries so we don't have loads of files to add if we
  are using gbp and debuild.
* Check intltool is installed. Output message if not and then exit.
  • Loading branch information...
Phil Wyett authored and jendrikseipp committed Sep 16, 2017
1 parent fc5400d commit f9499688bd53953595cd50cea0547297b855fd1d
Showing with 15 additions and 0 deletions.
  1. +8 −0 .gitignore
  2. +7 −0 dev/generate-pot.sh
@@ -4,4 +4,12 @@ build/
dist/
po/*.mo
.cache/
.pc/
.pybuild/
.tox/
debian/rednotebook/
debian/debhelper-build-stamp
debian/files
debian/rednotebook.postinst.debhelper
debian/rednotebook.prerm.debhelper
debian/rednotebook.substvars
@@ -5,6 +5,13 @@
set -e
set -u

# Check that required 'intltool' is installed.
if ! [ -x "$(command -v intltool-extract)" ]
then
echo 'intltool not installed. Please install intltool package. Exiting...' >&2
exit 1
fi

cd "$(dirname "$0")"
cd ../po

0 comments on commit f949968

Please sign in to comment.
You can’t perform that action at this time.