From: Sergey Matveev Date: Mon, 30 Jun 2025 08:21:28 +0000 (+0300) Subject: More hardlinks X-Git-Tag: v0.0.0~3 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=0fbb87017dcb716a7474595c81ad29db4a2c3696af2bccf0c7fddb55ad1e0e88;p=keks.git More hardlinks --- diff --git a/makedist b/makedist index 955164e..f269b7b 100755 --- 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 \ diff --git a/spec/mk-html b/spec/mk-html index 4348963..0ed7dd9 100755 --- a/spec/mk-html +++ b/spec/mk-html @@ -4,6 +4,8 @@ html=spec.html SWG_DO_BACKS=0 SWG_DO_SRC=0 swg htmls $html perl -i -npe 's#^.*$#<title>KEKS#' $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 {} +