]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
docs: add note about --disable-all-programs
authorKarel Zak <kzak@redhat.com>
Tue, 24 Jul 2018 10:35:45 +0000 (12:35 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 24 Jul 2018 10:35:45 +0000 (12:35 +0200)
Addresses: https://github.com/karelzak/util-linux/issues/666
Signed-off-by: Karel Zak <kzak@redhat.com>
Documentation/howto-compilation.txt

index 4b392461d49a2c779c5d302d524bc1c2ce68e080..5ae3310967471b8d9e8c8013cdd6643d43ca565a 100644 (file)
@@ -36,6 +36,25 @@ Compiling
 
        FIXME: add notes about klib and uClib.
 
+
+Compile certain portion
+
+       See ./configure --help and use --disable-* and --enable-* options.
+
+        It's also possible to disable all the programs and enable only wanted.
+        For example:
+       
+       ./configure --disable-all-programs --enable-fallocate
+
+       Note that the configure script tracks dependencies between libs and
+        tools. Always see warning messages and follow error messages if any
+        dependence is necessary. For example to compile mount(8) you need also
+        libmount, libblkid and libuuid:
+
+       ./configure --disable-all-programs --enable-mount --enable-libmount \
+                    --enable-libblkid --enable-libuuid
+
+
 Static linking
 
        Use --enable-static-programs[=LIST] configure option when