From ee76d3bc6a056d726fbd7966b426d0d9c6721723 Mon Sep 17 00:00:00 2001 From: Loup Vaillant Date: Mon, 20 Feb 2023 00:41:09 +0100 Subject: [PATCH] Clarified where the tarball makefile ends --- dist.sh | 2 +- makefile | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dist.sh b/dist.sh index 551f161..3508cca 100755 --- 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' \ diff --git a/makefile b/makefile index cc009f3..a1f4886 100644 --- 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 "======================================================" -- 2.47.3