mirror of
https://github.com/rkd77/elinks.git
synced 2024-10-13 05:43:37 -04:00
11 lines
385 B
Python
11 lines
385 B
Python
|
#!/usr/bin/python3
|
||
|
|
||
|
import os
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
podir = os.path.dirname(os.path.realpath(__file__))
|
||
|
topsrcdir = os.path.abspath(os.path.join(podir, '..'))
|
||
|
potfiles = os.path.join(podir, 'potfiles.list')
|
||
|
os.chdir(topsrcdir)
|
||
|
os.system("find src/ -type f -name '*.[ch]' -o -name '*.cpp' -o -name options.inc -o -name 'actions-*.inc' | sort > %s" % potfiles)
|