From 53e4feec7d6e15846b75f6813a8ba49ebdc7d9fb Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 12 Aug 2023 06:11:21 -0400 Subject: [PATCH] e-conorm to the documentation by removing the .py estension from sst. --- Makefile | 8 ++++---- NEWS | 3 ++- sst.py => sst | 0 test/Makefile | 6 +++--- 4 files changed, 9 insertions(+), 8 deletions(-) rename sst.py => sst (100%) diff --git a/Makefile b/Makefile index e55c51f..71e47dd 100644 --- a/Makefile +++ b/Makefile @@ -1,17 +1,17 @@ # Makefile for the SST2K project -VERS=$(shell sed $(MANDIR)/sst.6.gz sst.6: doc/sst.xml @@ -32,7 +32,7 @@ check: pylint cd test; $(MAKE) --quiet pylint: - @pylint --score=n sst.py + @pylint --score=n sst clean: rm -f sst.6 sst.html diff --git a/NEWS b/NEWS index 0751bef..7db150a 100644 --- a/NEWS +++ b/NEWS @@ -1,7 +1,8 @@ SST2K project news. Repository head:: - Fix for enemy dispersion on torpedo hits. + Fix for enemy dispersion on torpedo hits. + Re-conorm to the documentation by removing the .py estension from sst. 2.7: 2021-09-20:: Ubuntu has abolished /usr/bin/python, change shebang to python3. diff --git a/sst.py b/sst similarity index 100% rename from sst.py rename to sst diff --git a/test/Makefile b/test/Makefile index f735cc7..11be77c 100644 --- a/test/Makefile +++ b/test/Makefile @@ -12,7 +12,7 @@ all: .SUFFIXES: .log .chk .log.chk: - ../sst.py -r $< >$@ 2>&1 + ../sst -r $< >$@ 2>&1 TESTLOADS := $(shell ls *.log | sed '/.log/s///') buildregress: @@ -20,7 +20,7 @@ buildregress: if [ ! -f $${test}.tst ] ; \ then \ echo "Remaking $${test}.chk"; \ - rm -f $${test}.chk && ../sst.py -r $${test}.log >$${test}.chk 2>&1; \ + rm -f $${test}.chk && ../sst -r $${test}.log >$${test}.chk 2>&1; \ fi \ done regress: @@ -30,7 +30,7 @@ regress: if [ ! -f $${test}.tst ] ; \ then \ legend=$$(sed -n -e '/# Test/s//Test/p' <$${test}.log); \ - ../sst.py -r "$${test}.log" | ./tapdiffer "$${legend}" "$${test}.chk"; \ + ../sst -r "$${test}.log" | ./tapdiffer "$${legend}" "$${test}.chk"; \ fi \ done @rm -f /tmp/regress -- 2.31.1