]> Cypherpunks repositories - keks.git/commitdiff
More hardlinks
authorSergey Matveev <stargrave@stargrave.org>
Mon, 30 Jun 2025 08:21:28 +0000 (11:21 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Mon, 30 Jun 2025 08:21:28 +0000 (11:21 +0300)
makedist
spec/mk-html

index 955164e4e10d0b91b72f52f90f50b7cc4ab24dfa2ca3bd9521993ba868c7a567..f269b7b98bf3cd78a34ee5f82e49d8df9c154d3f244b8501019c2baa4f27d902 100755 (executable)
--- a/makedist
+++ b/makedist
@@ -10,6 +10,14 @@ git checkout v$release || :
 
 cd $tmp/keks-$release
 echo $release >VERSION
+
+for d in go py3 tcl ; do
+    for f in COPYING COPYING.LESSER ; do
+        rm $d/$f
+        ln c/$f $d/$f
+    done
+done
+
 redo \
     c/doc/keks.info \
     c/lib/cm/pub.schema.keks.c.in \
index 43489634257d7cf910f37eca8d85bc018fc6efd721da3908fa4759a6cdb6b0b7..0ed7dd995af4de6c146e0831f62d729b5e462b117beaaac76848e128731e0cf1 100755 (executable)
@@ -4,6 +4,8 @@
 html=spec.html
 SWG_DO_BACKS=0 SWG_DO_SRC=0 swg htmls $html
 perl -i -npe 's#^<title>.*$#<title>KEKS</title>#' $html/index.html
-cp ../PUBKEY-* $html
+for pub in PUBKEY-CM.pub PUBKEY-CM.pub.asc PUBKEY-SSH.pub PUBKEY-SSH.pub.asc ; do
+    [ -e $html/$pub ] || ln ../$pub $html
+done
 find $html -type d -exec chmod 755 {} +
 find $html -type f -exec chmod 644 {} +