Now compresses the manpage
This commit is contained in:
parent
7299168b15
commit
8db8e8611e
1 changed files with 5 additions and 1 deletions
6
setup.py
6
setup.py
|
|
@ -20,7 +20,7 @@ def get_data_files():
|
||||||
(os.path.join('share', 'devede_ng'), ['data/languages.lst']),
|
(os.path.join('share', 'devede_ng'), ['data/languages.lst']),
|
||||||
(os.path.join('share', 'devede_ng', 'backgrounds'), glob('data/pixmaps/backgrounds/*')),
|
(os.path.join('share', 'devede_ng', 'backgrounds'), glob('data/pixmaps/backgrounds/*')),
|
||||||
(os.path.join('share', 'doc', 'devede_ng', 'html'), glob('doc/*')),
|
(os.path.join('share', 'doc', 'devede_ng', 'html'), glob('doc/*')),
|
||||||
(os.path.join('share','man','man1'), ['data/devede.1'])
|
(os.path.join('share','man','man1'), ['data/devede.1.gz'])
|
||||||
]
|
]
|
||||||
|
|
||||||
for lang_name in [f for f in os.listdir('locale')]:
|
for lang_name in [f for f in os.listdir('locale')]:
|
||||||
|
|
@ -53,6 +53,10 @@ def compile_translations():
|
||||||
pass
|
pass
|
||||||
|
|
||||||
compile_translations()
|
compile_translations()
|
||||||
|
try:
|
||||||
|
os.system("gzip -c data/devede.1 > data/devede.1.gz")
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
#here = os.path.abspath(os.path.dirname(__file__))
|
#here = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue