Add py3k targets to Makefile: 'test', 'install', 'uninstall', 'reinstall'.
parent
1e5c1c2311
commit
08f066ddfc
13
Makefile
13
Makefile
|
@ -49,14 +49,27 @@ test: test-before
|
||||||
touch gnupg/test/random_seed_is_sekritly_pi
|
touch gnupg/test/random_seed_is_sekritly_pi
|
||||||
rm gnupg/test/random_seed*
|
rm gnupg/test/random_seed*
|
||||||
|
|
||||||
|
py3k-test: test-before
|
||||||
|
python3 $(TESTHANDLE) basic encodings parsers keyrings listkeys genkey \
|
||||||
|
sign crypt
|
||||||
|
touch gnupg/test/placeholder.log
|
||||||
|
mv gnupg/test/*.log gnupg/test/logs/
|
||||||
|
rm gnupg/test/logs/placeholder.log
|
||||||
|
touch gnupg/test/random_seed_is_sekritly_pi
|
||||||
|
rm gnupg/test/random_seed*
|
||||||
|
|
||||||
install:
|
install:
|
||||||
python setup.py install --record installed-files.txt
|
python setup.py install --record installed-files.txt
|
||||||
|
py3k-install:
|
||||||
|
python3 setup.py install --record installed-files.txt
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
touch installed-files.txt
|
touch installed-files.txt
|
||||||
cat installed-files.txt | sudo xargs rm -rf
|
cat installed-files.txt | sudo xargs rm -rf
|
||||||
|
py3k-uninstall: uninstall
|
||||||
|
|
||||||
reinstall: uninstall install
|
reinstall: uninstall install
|
||||||
|
py3k-reinstall: py3k-uninstall py3k-install
|
||||||
|
|
||||||
cleandocs:
|
cleandocs:
|
||||||
sphinx-apidoc -F -A "Isis Agora Lovecruft" -H "python-gnupg" \
|
sphinx-apidoc -F -A "Isis Agora Lovecruft" -H "python-gnupg" \
|
||||||
|
|
Loading…
Reference in New Issue