--- a/Makefile Fri Oct 04 19:40:53 2019 +0200
+++ b/Makefile Sat Oct 05 21:04:37 2019 +0200
@@ -1,4 +1,4 @@
-# Sane Software Manifesto helper tools
+# Sane software manifesto helper tools
# Copyright © 2019 František Kučera (Frantovo.cz, GlobalCode.info)
#
# This program is free software: you can redistribute it and/or modify
@@ -13,7 +13,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
-VERSION_PARAMS := $(shell hg log -r '.' --template '--stringparam versionTag {latesttag} --stringparam versionDistance {latesttagdistance} --stringparam versionHash {node|short}')
+VERSION_PARAMS := $(shell hg log -r '.' --template '--stringparam versionTag {latesttag} --stringparam versionDistance {latesttagdistance} --stringparam versionHash {node|short}') "--stringparam" "versionChangedFiles" $(shell hg status | wc -l)
all: validate xhtml txt pdf logo-png statistics
@@ -45,7 +45,8 @@
rm -rf build
publish:
- scp build/* globalcode.info:/var/www/sane-software.globalcode.info/v_0/
+ scp build/* globalcode.info:/var/www/sane-software.globalcode.info/v_0/
+ scp license/* globalcode.info:/var/www/sane-software.globalcode.info/license/
build/statistics.rp: text/ssm.en.xml
@@ -67,4 +68,4 @@
cat build/statistics.rp | relpipe-out-tabular
statistics-chart: build/statistics.rp
- cat build/statistics.rp | relpipe-tr-cut ".*" "(name|.*s)" | relpipe-out-gui -title "Sane Software Manifesto – chart of rule types"
+ cat build/statistics.rp | relpipe-tr-cut ".*" "(name|.*s)" | relpipe-out-gui -title "Sane software manifesto – chart of rule types"