makefile: fix "distribute" target to keep flawfinder.py

Fix the source package.
We recently renamed "flawfinder" to "flawfinder.py" in the
source tree, but the "distribute" target then removes because
previously "flawfinder.py" wasn't the "real thing".

Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com>
This commit is contained in:
David A. Wheeler 2021-06-03 10:10:08 -04:00
parent 396074ca62
commit daf0bb0992
1 changed files with 0 additions and 2 deletions

View File

@ -104,8 +104,6 @@ distribute: clean flawfinder.pdf flawfinder.ps
cp -r -p [a-zA-Z]* ,tempdir cp -r -p [a-zA-Z]* ,tempdir
rm -f ,tempdir/*.tar.gz rm -f ,tempdir/*.tar.gz
rm -f ,tempdir/*.rpm rm -f ,tempdir/*.rpm
# We don't need both "flawfinder" and "flawfinder.py":
rm -f ,tempdir/flawfinder.py
mv ,tempdir flawfinder-$(VERSION) mv ,tempdir flawfinder-$(VERSION)
# Nobody else needs "update" either. # Nobody else needs "update" either.
rm -f ,tempdir/update rm -f ,tempdir/update