From 6e6d94752a5f4d99f1980cfae00485efb71df7b8 Mon Sep 17 00:00:00 2001 From: Yves Rutschle Date: Sun, 4 May 2025 11:45:33 +0200 Subject: [PATCH] Revert "include version.h in repo" This reverts commit acdbb79d43ca867ccc86a340d9cc90858e38059f. --- .gitignore | 1 + Makefile.in | 4 +--- version.h | 5 ----- 3 files changed, 2 insertions(+), 8 deletions(-) delete mode 100644 version.h diff --git a/.gitignore b/.gitignore index 6b9d908..493642b 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ sslh-ev systemd-sslh-generator sslh.8.gz tags +version.h /config.status /config.log /config.h diff --git a/Makefile.in b/Makefile.in index f614984..96f9656 100644 --- a/Makefile.in +++ b/Makefile.in @@ -70,9 +70,8 @@ all: sslh-fork sslh-select $(MAN) echosrv $(CONDITIONAL_TARGETS) $(OBJS_A): $(OBJS) $(AR) rcs $(OBJS_A) $(OBJS) -version.h: .FORCE +version.h: ./genver.sh >version.h -.FORCE: $(OBJS) $(FORK_OBJS) $(SELECT_OBJS) $(EV_OBJS): argtable3.h collection.h common.h gap.h hash.h log.h probe.h processes.h sslh-conf.h tcp-listener.h tcp-probe.h tls.h udp-listener.h version.h @@ -145,7 +144,6 @@ distclean: clean clean: rm -f sslh-fork sslh-select $(CONDITIONAL_TARGETS) echosrv version.h $(MAN) systemd-sslh-generator *.o *.gcov *.gcno *.gcda *.png *.html *.css *.info - echo "// this is a placeholder for version.h, to make code-checking editors happy" > version.h tags: ctags --globals -T *.[ch] diff --git a/version.h b/version.h deleted file mode 100644 index 5bb09ef..0000000 --- a/version.h +++ /dev/null @@ -1,5 +0,0 @@ -#ifndef VERSION_H -#define VERSION_H - -#define VERSION "v2.2.0-dirty" -#endif