Modified the Debian postint script for mcpyrate.
Now we generate the cache files running kibot after installation.
This commit is contained in:
parent
307e553534
commit
f96f56f0ee
2
Makefile
2
Makefile
|
|
@ -20,8 +20,6 @@ $(error Revert tests/board_samples/bom.xml-bak)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
deb:
|
deb:
|
||||||
perl debian/make_postinst.pl > debian/postinst
|
|
||||||
chmod +x debian/postinst
|
|
||||||
fakeroot dpkg-buildpackage -uc -b
|
fakeroot dpkg-buildpackage -uc -b
|
||||||
|
|
||||||
lint: doc
|
lint: doc
|
||||||
|
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
||||||
#!/usr/bin/perl
|
|
||||||
@l=glob('kibot/*.py');
|
|
||||||
print("#!/bin/sh\n");
|
|
||||||
print("set -e\n");
|
|
||||||
foreach $v (@l)
|
|
||||||
{
|
|
||||||
$a = `grep "import macros" $v`;
|
|
||||||
if ($?)
|
|
||||||
{
|
|
||||||
$v = "/usr/lib/python3/dist-packages/$v";
|
|
||||||
$cmd = "py3compile -V 3.2- $v";
|
|
||||||
print("$cmd\n");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,15 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
py3compile -V 3.2- /usr/lib/python3/dist-packages/kibot/__init__.py
|
kibot --help-outputs > /dev/null
|
||||||
py3compile -V 3.2- /usr/lib/python3/dist-packages/kibot/__main__.py
|
|
||||||
py3compile -V 3.2- /usr/lib/python3/dist-packages/kibot/config_reader.py
|
|
||||||
py3compile -V 3.2- /usr/lib/python3/dist-packages/kibot/docopt.py
|
|
||||||
py3compile -V 3.2- /usr/lib/python3/dist-packages/kibot/error.py
|
|
||||||
py3compile -V 3.2- /usr/lib/python3/dist-packages/kibot/gs.py
|
|
||||||
py3compile -V 3.2- /usr/lib/python3/dist-packages/kibot/kiplot.py
|
|
||||||
py3compile -V 3.2- /usr/lib/python3/dist-packages/kibot/log.py
|
|
||||||
py3compile -V 3.2- /usr/lib/python3/dist-packages/kibot/macros.py
|
|
||||||
py3compile -V 3.2- /usr/lib/python3/dist-packages/kibot/misc.py
|
|
||||||
py3compile -V 3.2- /usr/lib/python3/dist-packages/kibot/optionable.py
|
|
||||||
py3compile -V 3.2- /usr/lib/python3/dist-packages/kibot/pre_base.py
|
|
||||||
py3compile -V 3.2- /usr/lib/python3/dist-packages/kibot/registrable.py
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue