mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-23 22:52:23 +00:00
Lintian warnings cleanup
Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
parent
fda857aeb8
commit
7eb903667b
@ -60,8 +60,13 @@ bash-completion/ct-ng: bash-completion/ct-ng.in Makefile
|
|||||||
$(AM_V_GEN)$(MKDIR_P) bash-completion && $(do_subst) < $< >$@-t && mv -f $@-t $@
|
$(AM_V_GEN)$(MKDIR_P) bash-completion && $(do_subst) < $< >$@-t && mv -f $@-t $@
|
||||||
|
|
||||||
# automake doesn't offer an option to compress manpages, do it after installation
|
# automake doesn't offer an option to compress manpages, do it after installation
|
||||||
|
# Also, lintian is picky about execute-bit on the scripts
|
||||||
install-data-hook:
|
install-data-hook:
|
||||||
|
rm -f $(DESTDIR)$(man1dir)/$(ctng_progname).1.gz
|
||||||
gzip -9 $(DESTDIR)$(man1dir)/$(ctng_progname).1
|
gzip -9 $(DESTDIR)$(man1dir)/$(ctng_progname).1
|
||||||
|
chmod +x $(DESTDIR)$(pkgdatadir)/scripts/config.guess
|
||||||
|
chmod +x $(DESTDIR)$(pkgdatadir)/scripts/config.sub
|
||||||
|
chmod -x $(DESTDIR)$(compdir)/$(ctng_progname)
|
||||||
|
|
||||||
uninstall-hook:
|
uninstall-hook:
|
||||||
rm -f $(DESTDIR)$(man1dir)/$(ctng_progname).1.gz
|
rm -f $(DESTDIR)$(man1dir)/$(ctng_progname).1.gz
|
||||||
|
13
configure.ac
13
configure.ac
@ -26,16 +26,17 @@ AC_CONFIG_SRCDIR([ct-ng.in])
|
|||||||
|
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
# Allow dummy --{en,dis}able-{static,shared}
|
# Allow dummy --{en,dis}able-{static,shared}
|
||||||
AC_ARG_ENABLE(
|
AC_ARG_ENABLE([local],
|
||||||
[local],
|
[AS_HELP_STRING([--enable-local],
|
||||||
[AS_HELP_STRING(
|
|
||||||
[--enable-local],
|
|
||||||
[run ct-ng from the current directory; 'make install' unsupported])])
|
[run ct-ng from the current directory; 'make install' unsupported])])
|
||||||
AC_SUBST([enable_local], [${enable_local:-no}])
|
AC_SUBST([enable_local], [${enable_local:-no}])
|
||||||
|
|
||||||
|
AC_ARG_ENABLE([maintainer-mode],
|
||||||
|
[AS_HELP_STRING([--enable-maintainer-mode],
|
||||||
|
[Ignored; accepted to avoid a warning from debuild])])
|
||||||
|
|
||||||
AC_ARG_WITH([bash-completion],
|
AC_ARG_WITH([bash-completion],
|
||||||
[AS_HELP_STRING(
|
[AS_HELP_STRING([--with-bash-completion],
|
||||||
[--with-bash-completion],
|
|
||||||
[install bash(1) command completion; can specify a path where it will be installed])],
|
[install bash(1) command completion; can specify a path where it will be installed])],
|
||||||
[],
|
[],
|
||||||
[with_bash_completion=yes])
|
[with_bash_completion=yes])
|
||||||
|
Loading…
Reference in New Issue
Block a user