commit: 0080a7ad1278dc6b4ede2e029f38b67416934e7a
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 13 05:20:23 2024 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Wed Mar 13 05:20:23 2024 +0000
URL: https://gitweb.gentoo.org/proj/fifo-cronolog.git/commit/?id=0080a7ad
build: fix default rule
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
Makefile | 8 ++++----
fifo-cronolog.c | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile
index 74c132a..10cfd70 100644
--- a/Makefile
+++ b/Makefile
@@ -12,10 +12,6 @@ VERSION = $(shell awk -F'"' '/#define VERSION/{print $$2}'
$(SRC) )
DISTFILE_EXT = tar.gz
DISTFILE = $(BIN)-$(VERSION).$(DISTFILE_EXT)
-dist:
- if test -e $(DISTFILE) ; then echo "$(DISTFILE) already exists" ; exit
1 ; fi
- git archive --format $(DISTFILE_EXT) --prefix $(BIN)-$(VERSION)/
v$(VERSION) >$(DISTFILE).tmp && mv $(DISTFILE).tmp $(DISTFILE)
-
all: $(BIN)
$(BIN): $(OBJ)
@@ -32,4 +28,8 @@ install:
install -m0755 -D $(BIN) $(HELPER) $(DESTDIR)$(BINDIR)
install -m0644 -D $(SYSTEMD_UNIT) $(DESTDIR)$(SYSTEMD_TARGET)
+dist:
+ if test -e $(DISTFILE) ; then echo "$(DISTFILE) already exists" ; exit
1 ; fi
+ git archive --format $(DISTFILE_EXT) --prefix $(BIN)-$(VERSION)/
v$(VERSION) >$(DISTFILE).tmp && mv $(DISTFILE).tmp $(DISTFILE)
+
# vim: set ts=4 sw=4 tw=80:
diff --git a/fifo-cronolog.c b/fifo-cronolog.c
index f30bda4..1160976 100644
--- a/fifo-cronolog.c
+++ b/fifo-cronolog.c
@@ -14,7 +14,7 @@ SPDX-License-Identifier: BSD-2-Clause
#include <errno.h>
#include <string.h>
-#define VERSION "1.2.2"
+#define VERSION "1.2.3"
char *pidfile;