Comments
Patch
===================================================================
@@ -756,6 +756,12 @@
UL_REQUIRES_BUILD([deprecated_mount], [libblkid])
AM_CONDITIONAL(BUILD_DEPRECATED_MOUNT, test "x$build_deprecated_mount" = xyes)
+AC_ARG_ENABLE([allprogs],
+ AS_HELP_STRING([--disable-allprogs], [don't build any programs]),
+ [], enable_all_progs=yes
+)
+UL_BUILD_INIT([allprogs])
+AM_CONDITIONAL(BUILD_ALLPROGS, test "x$build_allprogs" = xyes)
AC_ARG_ENABLE([mount],
AS_HELP_STRING([--disable-mount], [do not build mount(8) and umount(8)]),
===================================================================
@@ -1,4 +1,4 @@
-
+if BUILD_ALLPROGS
usrbin_exec_PROGRAMS += flock
dist_man_MANS += sys-utils/flock.1
flock_SOURCES = sys-utils/flock.c
@@ -300,3 +300,4 @@
hwclock_LDADD += -laudit
endif
endif # BUILD_HWCLOCK
+endif # BUILD_ALLPROGS
\ No newline at end of file
===================================================================
@@ -1,4 +1,4 @@
-
+if BUILD_ALLPROGS
fdisk_common_sources = \
fdisks/common.h \
fdisks/gpt.c \
@@ -85,3 +85,4 @@
endif # !ARCH_SPARC
endif # !ARCH_M68K
+endif # BUILD_ALLPROGS
===================================================================
@@ -1,4 +1,4 @@
-
+if BUILD_ALLPROGS
usrbin_exec_PROGRAMS += cal
dist_man_MANS += misc-utils/cal.1
cal_SOURCES = \
@@ -173,3 +173,4 @@
dist_getoptexample_SCRIPTS = \
misc-utils/getopt-parse.bash \
misc-utils/getopt-parse.tcsh
+endif # BUILD_ALLPROGS
\ No newline at end of file
===================================================================
@@ -1,4 +1,4 @@
-
+if BUILD_ALLPROGS
usrbin_exec_PROGRAMS += script
dist_man_MANS += term-utils/script.1
script_SOURCES = term-utils/script.c
@@ -92,3 +92,4 @@
endif
endif
endif # BUILD_WRITE
+endif # BUILD_ALLPROGS
===================================================================
@@ -1,4 +1,4 @@
-
+if BUILD_ALLPROGS
usrbin_exec_PROGRAMS += \
col \
colcrt \
@@ -79,3 +79,4 @@
dist_man_MANS += text-utils/more.1
endif
endif # !HAVE_NCURSES
+endif # BUILD_ALLPROGS
===================================================================
@@ -1,4 +1,4 @@
-
+if BUILD_ALLPROGS
sbin_PROGRAMS += fsck.minix
dist_man_MANS += disk-utils/fsck.minix.8
fsck_minix_SOURCES = \
@@ -142,3 +142,4 @@
partx_LDADD = $(LDADD) libblkid.la libcommon.la
endif # BUILD_PARTX
+endif # BUILD_ALLPROGS
===================================================================
@@ -1,4 +1,4 @@
-
+if BUILD_ALLPROGS
if BUILD_LAST
usrbin_exec_PROGRAMS += last
dist_man_MANS += login-utils/last.1
@@ -144,3 +144,4 @@
if BUILD_VIPW
cd $(DESTDIR)$(usrsbin_execdir) && ln -sf vipw vigr
endif
+endif