aboutsummaryrefslogtreecommitdiff
path: root/default.do
diff options
context:
space:
mode:
Diffstat (limited to 'default.do')
-rw-r--r--default.do7
1 files changed, 3 insertions, 4 deletions
diff --git a/default.do b/default.do
index cb45cd0..23cedf8 100644
--- a/default.do
+++ b/default.do
@@ -1,8 +1,5 @@
. ./config.rc
-# Extensionless name of file
-fn="${1%.*}"
-
case "$1" in
all) redo-ifchange src/cpt-lib docs/all ;;
dist)
@@ -11,7 +8,9 @@ case "$1" in
;;
src/cpt-lib)
redo-ifchange "$1.in"
- sed "s|@VERSION@|$VERSION|g" < "$1.in" > "$3"
+ sed -e "s|@VERSION@|$VERSION|g" \
+ -e "s|@DOCSTRING@|Call functions from the library|g" < "$1.in" > "$3"
+ chmod +x "$3"
;;
"cpt-$VERSION.tar.xz")
redo docs/cpt.info