summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFreeyorp <TheFreeYorp+git@gmail.com>2024-06-04 14:16:59 +0000
committerFreeyorp <TheFreeYorp+git@gmail.com>2024-06-04 14:16:59 +0000
commit7c80d10503545cc870c084def44c0ea4a95fd290 (patch)
tree219cd96696e64f1dc04e483fb2ec2533d9e0d696
parent779beae0c495dc095808ea4015c5bfda6633e4f1 (diff)
downloadtmwa-7c80d10503545cc870c084def44c0ea4a95fd290.tar.gz
tmwa-7c80d10503545cc870c084def44c0ea4a95fd290.tar.bz2
tmwa-7c80d10503545cc870c084def44c0ea4a95fd290.tar.xz
tmwa-7c80d10503545cc870c084def44c0ea4a95fd290.zip
Rename .make to .mk
.mk is more widely understood than .make, for IDE usage.
-rw-r--r--COPYING2
-rw-r--r--Makefile.in14
-rw-r--r--README.md2
-rw-r--r--generate.mk (renamed from generate.make)0
-rwxr-xr-xtools/protocol.py2
-rw-r--r--version.mk (renamed from version.make)0
6 files changed, 10 insertions, 10 deletions
diff --git a/COPYING b/COPYING
index edf98ab..c1c13ff 100644
--- a/COPYING
+++ b/COPYING
@@ -5,7 +5,7 @@ This combination is explicitly allowed by section 13 of the licenses.
See gpl-3.0.txt or agpl-3.0.txt for specific terms.
In order to make life easy for users who run this software publicly,
-please set VENDOR_SOURCE in version.make if you make any modifications.
+please set VENDOR_SOURCE in version.mk if you make any modifications.
History:
diff --git a/Makefile.in b/Makefile.in
index 6fe2de6..75f91f7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -152,7 +152,7 @@ $(info The Road goes ever on and on ...)
endif
endif
-include ${SRC_DIR}/version.make
+include ${SRC_DIR}/version.mk
ifeq (${ENABLE_SHARED},yes)
LIB_SUFFIX_FAKE := so
@@ -184,7 +184,7 @@ export PATH:=$(realpath ${SRC_DIR}/tools):${PATH}
SHELL=bash
# need to generate source files before path lists
-$(shell make -f ${SRC_DIR}/generate.make >&2)
+$(shell make -f ${SRC_DIR}/generate.mk >&2)
stamp/generated.stamp:
# if you get here, the shell above failed
false
@@ -688,15 +688,15 @@ override CPPFLAGS += -I . -I ${SRC_DIR}/include
# distribution tarballs
# this only works from within a git checkout
-dist/%/version.make:
+dist/%/version.mk:
$(MKDIR_FIRST)
- git --git-dir=${SRC_DIR}/.git show HEAD:version.make > $@
+ git --git-dir=${SRC_DIR}/.git show HEAD:version.mk > $@
sed 's/^VERSION_FULL := .*/#&\nVERSION_FULL := ${VERSION_FULL}/' -i $@
sed 's/^VERSION_HASH := .*/#&\nVERSION_HASH := ${VERSION_HASH}/' -i $@
-dist/%-src.tar: dist/%/version.make
+dist/%-src.tar: dist/%/version.mk
git --git-dir=${SRC_DIR}/.git archive --prefix=$*/ -o $@ HEAD
- ( mtime="$$(git --git-dir=${SRC_DIR}/.git log -n1 --pretty=%ci)" && cd dist && tar uf $*-src.tar --mtime="$${mtime}" --mode=664 --owner=root --group=root $*/version.make )
- rm dist/$*/version.make
+ ( mtime="$$(git --git-dir=${SRC_DIR}/.git log -n1 --pretty=%ci)" && cd dist && tar uf $*-src.tar --mtime="$${mtime}" --mode=664 --owner=root --group=root $*/version.mk )
+ rm dist/$*/version.mk
rmdir dist/$*/
dist/%-attoconf-only.tar:
$(MKDIR_FIRST)
diff --git a/README.md b/README.md
index b2309f5..6de796f 100644
--- a/README.md
+++ b/README.md
@@ -29,7 +29,7 @@ attoconf), but for any discussions related to TMW development.
## 1. Distributors.
### Important notes:
-- Go read [version.make](version.make)
+- Go read [version.mk](version.mk)
- TMWA requires git to build by default, use 'make dist' to get a tarball.
### Platform dependencies:
diff --git a/generate.make b/generate.mk
index c32ca8d..c32ca8d 100644
--- a/generate.make
+++ b/generate.mk
diff --git a/tools/protocol.py b/tools/protocol.py
index d63c22d..08c82b2 100755
--- a/tools/protocol.py
+++ b/tools/protocol.py
@@ -7124,7 +7124,7 @@ def make_dots(ctx):
#p = partition({k: ids_only(v.post) for (k, v) in d.items()})
if not os.path.exists('doc-gen'):
- # generate.make will succeed if missing the wiki repo
+ # generate.mk will succeed if missing the wiki repo
# but 'make doc' will fail
return
for g in glob.glob('doc-gen/*.gv'):
diff --git a/version.make b/version.mk
index 73ecc83..73ecc83 100644
--- a/version.make
+++ b/version.mk