Updated changelog with information on pidof's new -q flag.

Fixed Makefile to make sure it does proper clean before making
tarball. And properly creates signed tarball afterwards.
This commit is contained in:
Jesse Smith 2018-09-08 23:29:02 -03:00
parent f1ca96e1c1
commit c29655a5c8
2 changed files with 10 additions and 2 deletions

View File

@ -2,6 +2,7 @@ PACKAGE=sysvinit
VERSION=$(shell sed -rn '1s/.*[[:blank:]]\((.*)\)[[:blank:]].*/\1/p' doc/Changelog)
all install clean distclean:
@rm -f $(PACKAGE)-$(VERSION).tar.xz $(PACKAGE)-$(VERSION).tar.xz.sig
$(MAKE) VERSION=$(VERSION) -C src $@
GITLOGIN=$(shell git remote -v | head -n 1 | cut -f 1 -d '@' | sed 's/origin\t//g')
@ -10,8 +11,9 @@ override TARBALL:=$(TMP)/$(PACKAGE)-$(VERSION).tar.xz
override SFTPBATCH:=$(TMP)/$(VERSION)-sftpbatch
SOURCES=contrib COPYING COPYRIGHT doc Makefile man README src
dist: clean $(TARBALL)
dist: $(TARBALL).sig
@cp $(TARBALL) .
@cp $(TARBALL).sig .
@echo "tarball $(PACKAGE)-$(VERSION).tar.xz ready"
rm -rf $(TMP)
@ -35,7 +37,7 @@ $(TARBALL).sig: $(TARBALL)
$(TARBALL): $(TMP)/$(PACKAGE)-$(VERSION)
@tar --exclude=.git --owner=nobody --group=nogroup -cJf $@ -C $(TMP) $(PACKAGE)-$(VERSION)
$(TMP)/$(PACKAGE)-$(VERSION):
$(TMP)/$(PACKAGE)-$(VERSION): distclean
@mkdir -p $(TMP)/$(PACKAGE)-$(VERSION)
@cp -R $(SOURCES) $(TMP)/$(PACKAGE)-$(VERSION)/
@chmod -R a+r,u+w,og-w $@

View File

@ -16,6 +16,12 @@ sysvinit (2.91) UNRELEASED; urgency=low
the musl C library) can still check the current runlevel. This is
useful when running halt/reboot as these programs want to check the
runlevel.
* Added patch from Walter Harms which allows pidof to run without
displaying output. In this mode pidof simply returns true or false
without displaying PID values.
Updated manual page with new -q (quiet) mode.
Added -h flag for pidof, which was recognized before, but not used.
The -h flag now displays brief usage information for pidof.
sysvinit (2.90) world; urgency=low