Tweak makefile to prevent unnecessary failures
Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com>
This commit is contained in:
parent
77121b15ed
commit
0c4dbe8cc0
2
makefile
2
makefile
|
@ -99,6 +99,7 @@ clean:
|
||||||
rm -f *.tar *.exe ./cwe
|
rm -f *.tar *.exe ./cwe
|
||||||
|
|
||||||
distribute: clean flawfinder.pdf flawfinder.ps
|
distribute: clean flawfinder.pdf flawfinder.ps
|
||||||
|
rm -fr build dist flawfinder.egg-info ,tempdir
|
||||||
chmod -R a+rX *
|
chmod -R a+rX *
|
||||||
mkdir ,tempdir
|
mkdir ,tempdir
|
||||||
cp -p [a-zA-Z]* ,tempdir
|
cp -p [a-zA-Z]* ,tempdir
|
||||||
|
@ -121,7 +122,6 @@ dist: distribute
|
||||||
|
|
||||||
# This *creates* a PyPi distribution package. Use "upload-pypi" to upload it
|
# This *creates* a PyPi distribution package. Use "upload-pypi" to upload it
|
||||||
pypi: distribute
|
pypi: distribute
|
||||||
rm -fr build dist flawfinder.egg-info
|
|
||||||
python setup.py bdist_wheel --universal
|
python setup.py bdist_wheel --universal
|
||||||
|
|
||||||
# NOTE: Only do this after running "make pypi" & being satisfied with it
|
# NOTE: Only do this after running "make pypi" & being satisfied with it
|
||||||
|
|
Loading…
Reference in New Issue