Introduction
Introduction Statistics Contact Development Disclaimer Help
tMerge branch 'master' of src.adamsgaard.dk:mathtools - numtools - perform nume…
git clone git://src.adamsgaard.dk/numtools
Log
Files
Refs
README
LICENSE
---
commit 91acaf11d2a735231cf90a098e6c70d37920d3d3
parent 252504fec57a6e6bff076d11f88b8be2fe685194
Author: Anders Damsgaard <[email protected]>
Date: Wed, 9 Dec 2020 11:19:39 +0100
Merge branch 'master' of src.adamsgaard.dk:mathtools
Diffstat:
M Makefile | 13 +++++++++++--
M mean | 2 +-
2 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/Makefile b/Makefile
t@@ -1,7 +1,7 @@
.POSIX:
NAME = mathtools
-VERSION = 0.1.0
+VERSION = 0.1.1
# paths
PREFIX = /usr/local
t@@ -38,4 +38,13 @@ uninstall:
# removing manual pages.
for m in ${MAN1}; do rm -f "${DESTDIR}${MANPREFIX}/man1/$$m"; done
-.PHONY: install uninstall
+dist:
+ rm -rf "${NAME}-${VERSION}"
+ mkdir -p "${NAME}-${VERSION}"
+ cp -rf ${MAN1} ${DOC} ${SCRIPTS} "${NAME}-${VERSION}"
+ # make tarball
+ tar cf - "${NAME}-${VERSION}" | \
+ gzip -c > "${NAME}-${VERSION}.tar.gz"
+ rm -rf "${NAME}-${VERSION}"
+
+.PHONY: install uninstall dist
diff --git a/mean b/mean
t@@ -5,7 +5,7 @@
}
END {
for (i = 0; i < NF; i++) {
- printf("%g", sum[i]/NR)
+ printf("%g", sum[i] / NR)
if (i + 1 < NF)
printf("\t")
}
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.