aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-12-21 10:02:45 +0000
committermerakor <cem@ckyln.com>2020-12-21 10:02:45 +0000
commitc1c68a205b8cbf0a8ee55f099c27d0a0c7f8afe2 (patch)
tree0e28e76b2391ba290180df87acdab6577d1dfe3f /src
parent08af0013de1d77cf0ee46245e50007a9fbf79035 (diff)
parent1535d115d8d0c58ca4a90acbf16b263cf85bb0a1 (diff)
downloadcpt-c1c68a205b8cbf0a8ee55f099c27d0a0c7f8afe2.tar.gz
Merge branch 'redo'
FossilOrigin-Name: 046e1a0012624ed9a8934a8a4099710264281bcb6814c1fc0fbe3157c1121d2f
Diffstat (limited to 'src')
-rw-r--r--src/Makefile4
-rw-r--r--src/cpt-lib.in (renamed from src/cpt-lib)2
-rw-r--r--src/test.do5
3 files changed, 6 insertions, 5 deletions
diff --git a/src/Makefile b/src/Makefile
deleted file mode 100644
index aae4e59..0000000
--- a/src/Makefile
+++ /dev/null
@@ -1,4 +0,0 @@
-test:
- shellcheck -x -f gcc ./cpt* ../contrib/*
-
-.PHONY: test
diff --git a/src/cpt-lib b/src/cpt-lib.in
index 8e4ef87..a8fac5c 100644
--- a/src/cpt-lib
+++ b/src/cpt-lib.in
@@ -8,7 +8,7 @@
# Currently maintained by Cem Keylan.
version() {
- log "Carbs Packaging Tools" 5.1.1
+ log "Carbs Packaging Tools" @VERSION@
exit 0
}
diff --git a/src/test.do b/src/test.do
new file mode 100644
index 0000000..76771c0
--- /dev/null
+++ b/src/test.do
@@ -0,0 +1,5 @@
+. ../config.rc
+redo-ifchange cpt-lib
+exec >&2
+find . ../contrib -name 'cpt-*' ! -name '*.*' -exec shellcheck -x -f gcc {} +
+PHONY