]> git.codecow.com Git - Monocypher.git/commitdiff
Consistent naming with 'make dist'
authorLoup Vaillant <loup@loup-vaillant.fr>
Mon, 9 Dec 2019 16:07:14 +0000 (17:07 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Mon, 9 Dec 2019 16:07:14 +0000 (17:07 +0100)
dist.sh [moved from release.sh with 95% similarity]
dist_ignore [moved from tarball_ignore with 91% similarity]
makefile

similarity index 95%
rename from release.sh
rename to dist.sh
index 0b161ff804c7902199945c4cc6d5cf49f533db5f..c30162529142030436072a6f015aa18e2fa794b4 100755 (executable)
+++ b/dist.sh
@@ -20,7 +20,7 @@ doc/man2html.sh
 rm -rf $FOLDER
 
 # copy everything except ignored files to the
-rsync -ad --exclude-from=tarball_ignore ./ $FOLDER
+rsync -ad --exclude-from=dist_ignore ./ $FOLDER
 
 # Replace version markers by the actual version number (from tags)
 find $FOLDER -type f -exec sed -i "s/__git__/$VERSION/g" \{\} \;
similarity index 91%
rename from tarball_ignore
rename to dist_ignore
index cc2a5c04f841de863b02c8818168094b320de490..f76ed1b257526f5a7262a827a970cf2b471b954f 100644 (file)
 tests/formal-analysis/*
 tests/formal-analysis
 *.tar.gz
-monocypher-*
+monocypher-*/
 lib*
 .git*
 release.sh
-tarball_ignore
+dist_ignore
 tests/gen*
 tests/externals/ed25519-donna*
 doc/man2html.sh
index 01ee6c65ed415f0e6d67d9d1e1be533c7400f01b..1c937630984381712474cec0fce0e681ffb984de 100644 (file)
--- a/makefile
+++ b/makefile
@@ -18,7 +18,7 @@ endif
         check test                                                     \
         speed speed-sodium speed-tweetnacl speed-hydrogen speed-c25519 \
         clean uninstall                                                \
-        tarball
+        dist
 
 all    : library
 install: library src/monocypher.h install-doc
@@ -201,4 +201,4 @@ tests/vectors.h:
        exit 1
 
 dist: tests/vectors.h
-       ./release.sh
+       ./dist.sh