build: Drop data-to-c.pl in favour of data-to-c.py

The Python version was added for the Meson build, but we might as well
use it from autotools too, since it does exactly the same thing as the
Perl version (modulo not including a trailing linebreak, but that
doesn’t matter).

Works fine with Python 2.7 or Python 3.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://bugzilla.gnome.org/show_bug.cgi?id=790147
This commit is contained in:
Philip Withnall
2017-11-10 00:54:36 +00:00
parent 63e9d109fd
commit 1897e66dce
3 changed files with 4 additions and 41 deletions

2
gio/data-to-c.py Normal file → Executable file
View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
import sys