scripts/makeheader: slight simplification
Signed-off-by: Ran Benita <ran@unusedvar.com>master
parent
f0c0cb8074
commit
90497b84f8
|
@ -1,13 +1,10 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
from __future__ import print_function
|
||||
import re
|
||||
import os
|
||||
|
||||
prefix = os.environ.get('X11_HEADERS_PREFIX')
|
||||
if not prefix:
|
||||
prefix = '/usr'
|
||||
|
||||
prefix = os.environ.get('X11_HEADERS_PREFIX', '/usr')
|
||||
HEADERS = [
|
||||
prefix + '/include/X11/keysymdef.h',
|
||||
prefix + '/include/X11/XF86keysym.h',
|
||||
|
|
Loading…
Reference in New Issue