The e2fsprogs-libs-1.44.x.tar.gz subset distribution had a hack so
that "make install" would install the libraries via an implied "make
install-libs" --- since after all the tarball had was just the
libraries.
This commit makes "make install" behave the same was as the
e2fsprogs-libs distribution in the case of "configure --enable-subset"
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
install: subs all-libs-recursive install-progs-recursive \
install-shlibs-libs-recursive install-doc-libs
- if test ! -d e2fsck && test ! -d debugfs && test ! -d misc && test ! -d ext2ed ; then $(MAKE) install-libs ; fi
+@SUBSET_CMT@ $(MAKE) install-libs
install-strip: subs all-libs-recursive install-strip-progs-recursive \
install-shlibs-strip-libs-recursive install-doc-libs
RESIZER_CMT
IMAGER_CMT
DEBUGFS_CMT
+SUBSET_CMT
ALL_CMT
BLKID_CMT
DEPPROFILED_LIBBLKID
ALL_CMT=
+SUBSET_CMT=
# Check whether --enable-subset was given.
if test "${enable_subset+set}" = set; then :
enableval=$enable_subset; if test "$enableval" = "no"
then
+ SUBSET_CMT=#
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling subset-only build" >&5
$as_echo "Disabling subset-only build" >&6; }
else
+
# Check whether --enable-backtrace was given.
if test "${enable_backtrace+set}" = set; then :
enableval=$enable_backtrace; if test "$enableval" = "no"
dnl handle --enable-subset
dnl
ALL_CMT=
+SUBSET_CMT=
AC_ARG_ENABLE([subset],
[ --enable-subset enable subset-only build],
if test "$enableval" = "no"
then
+ SUBSET_CMT=#
AC_MSG_RESULT([Disabling subset-only build])
else
ALL_CMT=#
fi
,)
AC_SUBST(ALL_CMT)
+AC_SUBST(SUBSET_CMT)
dnl
dnl handle --disable-backtrace
dnl