From cd63deefc626a24123d69d9e8a13798f269ff8a3 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 20 May 2020 03:31:54 -0400 Subject: fix "make install" --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index eb844f5..c09c52b 100644 --- a/Makefile +++ b/Makefile @@ -92,11 +92,11 @@ ifeq ($(STRIPBIN),y) strip $(DESTDIR)$(BINDIR)/$(PROJ) endif cp $(PROJ).1 $(DESTDIR)$(MAN1DIR) + $(CHOWN) root:root $(DESTDIR)$(MAN1DIR)/$(PROJ).1 + chmod 644 $(DESTDIR)$(MAN1DIR)/$(PROJ).1 ifeq ($(GZIPMAN),y) gzip -9 $(DESTDIR)$(MAN1DIR)/$(PROJ).1 endif - $(CHOWN) root:root $(DESTDIR)$(MAN1DIR)/$(PROJ).1 - chmod 644 $(DESTDIR)$(MAN1DIR)/$(PROJ).1 cp README $(DESTDIR)$(DOCDIR) chmod 644 $(DESTDIR)$(DOCDIR)/README $(CHOWN) $(OWNER):$(GROUP) $(DESTDIR)$(DOCDIR)/README @@ -106,5 +106,9 @@ push: all man html git commit -m'auto-regenerate man/html pages' || true git push +# don't forget to: git config tar.tar.xz.command "xz -c" +release: + git tag -a -m'$(VERSION) release' $(VERSION) + git archive --prefix=$(PROJ)-$(VERSION)/ -o $(PROJ)-$(VERSION).tar.xz $(VERSION) .PHONY: all man clean html install push -- cgit v1.2.3