aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b64ce52..85f0f63 100644
--- a/Makefile
+++ b/Makefile
@@ -78,7 +78,8 @@ clean:
.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}