build-package.sh: always keep info pages

Info pages usually provide more complete information
about package and its usage than man pages.
This commit is contained in:
Leonid Pliushch 2019-06-30 19:30:09 +03:00 committed by Fredrik Fornwall
parent 27856c752e
commit 2fa11b13ef
4 changed files with 0 additions and 8 deletions

View File

@ -47,7 +47,6 @@ TERMUX_PKG_MAKE_INSTALL_TARGET= # Installation target equivalent to make install
# Post-install steps configuration.
TERMUX_PKG_INCLUDE_IN_DEVPACKAGE= # Files that are included in development package in addition to headers.
TERMUX_PKG_KEEP_STATIC_LIBRARIES= # Whether static libraries are kept.
TERMUX_PKG_KEEP_INFOPAGES= # Whether share/info files are kept.
TERMUX_PKG_KEEP_SHARE_DOC= # Whether share/doc files are kept.
TERMUX_PKG_RM_AFTER_INSTALL= # Remove specified files after 'make install' or equivalent.
TERMUX_PKG_CONFFILES= # Package configuration files. These files will not be overwritten on package update if modified by user.

View File

@ -30,7 +30,6 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" gl_cv_func_dup2_works=no"
# disable setrlimit function to make termux-am work from within emacs
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_func_setrlimit=no"
TERMUX_PKG_HOSTBUILD=yes
TERMUX_PKG_KEEP_INFOPAGES=yes
# Remove some irrelevant files:
TERMUX_PKG_RM_AFTER_INSTALL="share/icons share/emacs/${TERMUX_PKG_VERSION}/etc/images share/applications/emacs.desktop share/emacs/${TERMUX_PKG_VERSION}/etc/emacs.desktop share/emacs/${TERMUX_PKG_VERSION}/etc/emacs.icon bin/grep-changelog share/man/man1/grep-changelog.1.gz share/emacs/${TERMUX_PKG_VERSION}/etc/refcards share/emacs/${TERMUX_PKG_VERSION}/etc/tutorials/TUTORIAL.*"

View File

@ -6,7 +6,6 @@ TERMUX_PKG_REVISION=2
TERMUX_PKG_SHA256=91b56c40b93eee9bda27ec63e95a6316d848e3ee047b5880ed71e5e8e60f61ab
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/gcal/gcal-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_DEPENDS="ncurses"
TERMUX_PKG_KEEP_INFOPAGES=yes
termux_step_post_make_install() {
# XXX: share/info/dir is currently included in emacs.

View File

@ -7,11 +7,6 @@ termux_step_massage() {
# Remove non-english man pages:
test -d share/man && (cd share/man; for f in $(ls | grep -v man); do rm -Rf $f; done )
if [ -z "${TERMUX_PKG_KEEP_INFOPAGES+x}" ]; then
# Remove info pages:
rm -Rf share/info
fi
# Remove locale files we're not interested in::
rm -Rf share/locale