Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
build: do not generate tarballs compressed with bzip2 and gzip
There are tarballs compressed with xz, that should be enough.

* Makefile.am (AUTOMAKE_OPTIONS): Remove dist-bzip2, add no-dist-gzip.
(releasedocs): Do not create Linux-PAM-$(VERSION)-docs.tar.bz2
and Linux-PAM-$(VERSION)-docs.tar.gz.
  • Loading branch information
ldv-alt committed Jun 4, 2020
1 parent 9e5bea9 commit 6e319bc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Makefile.am
Expand Up @@ -2,7 +2,7 @@
# Copyright (c) 2005, 2006, 2007 Thorsten Kukuk <kukuk@thkukuk.de>
#

AUTOMAKE_OPTIONS = 1.9 gnu dist-bzip2 dist-xz check-news
AUTOMAKE_OPTIONS = 1.9 gnu dist-xz no-dist-gzip check-news

SUBDIRS = libpam tests libpamc libpam_misc modules po conf examples xtests

Expand All @@ -24,10 +24,6 @@ releasedocs:
rm -rf Linux-PAM-$(VERSION)
mkdir -p Linux-PAM-$(VERSION)/doc
make -C doc releasedocs
tar zfc Linux-PAM-$(VERSION)-docs.tar.gz \
Linux-PAM-$(VERSION)/doc
tar jfc Linux-PAM-$(VERSION)-docs.tar.bz2 \
Linux-PAM-$(VERSION)/doc
tar Jfc Linux-PAM-$(VERSION)-docs.tar.xz \
Linux-PAM-$(VERSION)/doc
rm -rf Linux-PAM-$(VERSION)
Expand Down

0 comments on commit 6e319bc

Please sign in to comment.