mirror of
https://github.com/troglobit/finit.git
synced 2026-10-30 12:50:34 +00:00
Bump version, update README and add TODO and dist: target to Makefile
Preparing for 1.0 release. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
c49d89dfe0
commit
2a025356d4
3 files changed
+75
-40
No files matched your search
@@ -28,9 +28,11 @@ ROOTDIR ?= $(shell pwd)
|
||||
# Plugin directory, fall back to this directory if unset in environment
|
||||
PLUGIN_DIR ?= /lib/finit/plugins
|
||||
|
||||
VERSION = 1.0-pre
|
||||
PKG = finit-$(VERSION)
|
||||
#VERSION ?= $(shell git tag -l | tail -1)
|
||||
VERSION ?= 1.0
|
||||
EXEC = finit
|
||||
PKG = $(EXEC)-$(VERSION)
|
||||
ARCHIVE = $(PKG).tar.xz
|
||||
OBJS = finit.o conf.o helpers.o signal.o svc.o plugin.o
|
||||
OBJS += strlcpy.o
|
||||
SRCS = $(OBJS:.o=.c)
|
||||
@@ -86,6 +88,11 @@ distclean: clean
|
||||
-@$(RM) $(JUNK) unittest *.o
|
||||
$(MAKE) -C plugins $@
|
||||
|
||||
dist:
|
||||
@echo "Building xz tarball of $(PKG) in parent dir..."
|
||||
git archive --format=tar --prefix=$(PKG)/ $(VERSION) | xz >../$(ARCHIVE)
|
||||
@(cd ..; md5sum $(ARCHIVE) | tee $(ARCHIVE).md5)
|
||||
|
||||
# Include automatically generated rules, such as:
|
||||
# uncgi.o: .../some/dir/uncgi.c /usr/include/stdio.h
|
||||
# but don't bother during clean!
|
||||
|
||||
Reference in new issue
Block a user