]> Cypherpunks.ru repositories - gogost.git/blobdiff - makedist.sh
Combine {BSD,GNU}makefiles together, as GNU Make 4.0 supports != assignment
[gogost.git] / makedist.sh
index 18ccc4146baa594084c8c6bf5c9103f5c983aeb9..57a188a95ce934addeaf8771a47bfda2dcae126c 100755 (executable)
@@ -22,7 +22,8 @@ mv \
     gost341264 \
     gost3413 \
     mgm \
-    internal gogost.go go.mod go.sum src/$mod_name
+    prfplus \
+    cmd internal gogost.go go.mod go.sum src/$mod_name
 
 mkdir -p src/golang.org/x/crypto
 ( cd $GOPATH/pkg/mod/$crypto_mod_path ; \
@@ -30,10 +31,10 @@ mkdir -p src/golang.org/x/crypto
     tar xfC - src/golang.org/x/crypto
 
 find . -name .git -type d | xargs rm -fr
-rm -f www* news.texi style.css makedist* TODO
+rm -f *.texi www.mk style.css makedist* TODO
 
-find . -type d -exec chmod 700 {} \;
-find . -type f -exec chmod 600 {} \;
+find . -type d -exec chmod 755 {} \;
+find . -type f -exec chmod 644 {} \;
 
 cd ..
 tar cvf gogost-"$release".tar --uid=0 --gid=0 --numeric-owner gogost-"$release"