Skip to content

Commit 83a4c9c

Browse files
committed
leave man page compression to the package manager
1 parent 4e1498b commit 83a4c9c

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

Makefile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ REPO := incrypt::$(CURDIR)/crypt
1616
all: man
1717

1818
ifndef NODOC
19-
man: man1/git-incrypt.1.gz
19+
man: man1/git-incrypt.1
2020
testman: man
2121
PAGER= git incrypt --help
2222
else
@@ -31,9 +31,6 @@ man1/%.xml: %.adoc asciidoc.conf
3131
mkdir -p man1
3232
asciidoc -f $(word 2, $^) -b docbook -d manpage -o $@ $<
3333

34-
%.gz: %
35-
gzip $<
36-
3734
test: testman
3835
rm -rf crypt tst
3936
mkdir crypt
@@ -65,7 +62,7 @@ install: man
6562
ln -s git-incrypt $(DESTDIR)$(ORIG_EXEC_PATH)/git-remote-incrypt
6663
install -D -m 644 -t $(DESTDIR)$(LICENSEDIR)/$(PKGNAME) COPYING
6764
install -D -m 644 -t $(DESTDIR)$(DOCDIR)/$(PKGNAME) FORMAT.md README.md
68-
install -D -m 644 -t $(DESTDIR)$(MANDIR)/man1 man1/git-incrypt.1.gz
65+
install -D -m 644 -t $(DESTDIR)$(MANDIR)/man1 man1/git-incrypt.1
6966

7067
clean:
7168
rm -rf man1 crypt tst

git-incrypt.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ make DESTDIR:="%{buildroot}" DOCDIR:=%{_docdir} MANDIR:=%{_mandir} LICENSEDIR:=/
4141
%{gitexecdir}/git-incrypt
4242
%{gitexecdir}/git-remote-incrypt
4343
%{_docdir}/%{name}
44-
%{_mandir}/man1/git-incrypt.1.gz
44+
%{_mandir}/man1/git-incrypt.1*

0 commit comments

Comments
 (0)