mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 08:39:28 +00:00
Reimport mbchk.
* util/Makefile.am: New file. * util/mbchk.c: Likewise. * Makefile.am (SUBDIRS): Add util. * configure.ac: New options --enable-mbchk. Check for HELP2MAN. (CFLAGS): Don't alter. (COND_MAN_PAGES): New conditional. (AC_CONFIG_FILES): Add util/Makefile. * doc/Makefile.am (kernel_CFLAGS): Add -m32 and -nostdlib. * doc/multiboot.texi (Invoking mbchk): New chapter.
This commit is contained in:
1 parent
432c7554bf
commit
2ee333d020
7 files changed
+297
-6
No files matched your search
@@ -0,0 +1,17 @@
|
||||
|
||||
HELP2MAN = @HELP2MAN@
|
||||
if COND_MAN_PAGES
|
||||
man_MANS = mbchk.1
|
||||
endif
|
||||
|
||||
if BUILD_MBCHK
|
||||
bin_PROGRAMS = mbchk
|
||||
endif
|
||||
|
||||
mbchk_SOURCES = mbchk.c
|
||||
mbchk_CPPFLAGS = -I$(top_srcdir)/doc
|
||||
|
||||
$(srcdir)/mbchk.1: ./mbchk
|
||||
$(HELP2MAN) \
|
||||
--name="check the format of a Multiboot kernel" \
|
||||
--section=1 --output=$@ ./$<
|
||||
Reference in new issue
Block a user