diff options
author | B. Watson <yalhcru@gmail.com> | 2020-05-20 03:31:54 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2020-05-20 03:31:54 -0400 |
commit | cd63deefc626a24123d69d9e8a13798f269ff8a3 (patch) | |
tree | 00ad48536cb38f8d27b68ee6f45e764aafaf0553 /Makefile | |
parent | b06b668dd6a020d19bcafca8e9dff8b2486019f8 (diff) | |
download | unsaver-cd63deefc626a24123d69d9e8a13798f269ff8a3.tar.gz |
fix "make install"0.3.0
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 |