aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-05-20 03:31:54 -0400
committerB. Watson <yalhcru@gmail.com>2020-05-20 03:31:54 -0400
commitcd63deefc626a24123d69d9e8a13798f269ff8a3 (patch)
tree00ad48536cb38f8d27b68ee6f45e764aafaf0553 /Makefile
parentb06b668dd6a020d19bcafca8e9dff8b2486019f8 (diff)
downloadunsaver-0.3.0.tar.gz
fix "make install"0.3.0
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files 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