--- /dev/null
+mitmanek:bugseverywhere (my_changes) $ make
+git log -1 --date=short --pretty='format:"Autogenerated by make libbe/_version.py"%nversion_info = {%n "date":"%cd",%n "revision":"%H",%n "committer":"%cn"}%n' > libbe/_version.py
+python setup.py build
+Traceback (most recent call last):
+ File "setup.py", line 6, in <module>
+ from libbe import _version
+ File "/home/matej/archiv/2011/projekty/bugseverywhere/libbe/_version.py", line 5
+SyntaxError: Non-ASCII character '\xc4' in file /home/matej/archiv/2011/projekty/bugseverywhere/libbe/_version.py on line 5, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
+make: *** [build] Error 1
+mitmanek:bugseverywhere (my_changes) $ exit
+
+
+Script ukončen Po 2. leden 2012, 15:50:23 CET
--- /dev/null
+creator: Matěj Cepl <mcepl@redhat.com>
+
+
+reporter: Matěj Cepl <mcepl@redhat.com>
+
+
+severity: minor
+
+
+status: fixed
+
+
+summary: make crashes on non-ASCII committer
+
+
+time: Mon, 02 Jan 2012 14:51:06 +0000
+
.PHONY: libbe/_version.py
libbe/_version.py:
- git log -1 --date=short --pretty='format:"Autogenerated by make libbe/_version.py"%nversion_info = {%n "date":"%cd",%n "revision":"%H",%n "committer":"%cn"}%n' > $@
+ echo "# -*- coding: utf-8 -*-" > $@
+ git log -1 --encoding=UTF-8 --date=short --pretty='format:"Autogenerated by make libbe/_version.py"%nversion_info = {%n "date":"%cd",%n "revision":"%H",%n "committer":"%cn"}%n' >> $@
.PHONY: man
man: ${MANPAGE_FILES}