]> git.codecow.com Git - Monocypher.git/commitdiff
Clarified where the tarball makefile ends
authorLoup Vaillant <loup@loup-vaillant.fr>
Sun, 19 Feb 2023 23:41:09 +0000 (00:41 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Sun, 19 Feb 2023 23:41:09 +0000 (00:41 +0100)
dist.sh
makefile

diff --git a/dist.sh b/dist.sh
index 551f161cfb87b235fdff80d964d8250b23791572..3508ccaadb96feb1fce7b222c571b6eea58c7003 100755 (executable)
--- a/dist.sh
+++ b/dist.sh
@@ -74,7 +74,7 @@ find $FOLDER -type f -exec sed -i "s/__git__/$VERSION/g" \{\} \;
 
 # Remove the dist target from the makefile (no recursive releases!),
 # and the tests/vector.h target, which ships with the tarball.
-sed -i '/tests\/vectors.h:/,$d' $FOLDER/makefile
+sed -i '/# Remove lines below for the tarball/,$d' $FOLDER/makefile
 
 # Remove contributor notes from the README
 sed -e '/Contributor notes/,$d' \
index cc009f3c44dfb3a648475f04444c8425e46559aa..a1f48863134140afd83915a7b4595206009d82c9 100644 (file)
--- a/makefile
+++ b/makefile
@@ -174,6 +174,8 @@ tis-ci.out : lib/tis-ci.o  $(TEST_OBJ)
        $(CC) $(CFLAGS) -I src -I src/optional -o $@ lib/tis-ci.o  $(TEST_OBJ)
 ctgrind.out: lib/ctgrind.o $(TEST_OBJ)
        $(CC) $(CFLAGS) -I src -I src/optional -o $@ lib/ctgrind.o $(TEST_OBJ)
+# Remove lines below for the tarball
+
 tests/vectors.h:
        @echo ""
        @echo "======================================================"