Skip to contentSkip to conversation

Why is grub-bin2h installed?

PATCH Colin Watson 1 participant 2 messages Apr 21, 2011 – May 17, 2011 Kbuild

lore
Share & tools
lore
#0 lore raw

Do we need to install grub-bin2h as part of 'make install'? Right now it goes in @prefix@/bin - but as far as I can see it's only used during the build process to build ascii.h and widthspec.h.

(Noticed while wondering how on earth to document the thing properly.)

2011-04-21 Colin Watson <[email protected]>

* Makefile.util.def (grub-bin2h): Don't install.
* docs/man/grub-bin2h.h2m: Remove.

=== modified file 'Makefile.util.def'

Makefile.util.def +1 -1
@@ -109,7 +109,7 @@ program = {
   ldadd = libgrubkern.a;
   ldadd = grub-core/gnulib/libgnu.a;
   ldadd = '$(LIBINTL) $(LIBDEVMAPPER)';
-  mansection = 1;
+  installdir = noinst;
 };
 
 program = {

=== removed file 'docs/man/grub-bin2h.h2m'

man/grub-bin2h.h2m +0 -2
@@ -1,2 +0,0 @@
-[NAME]
-grub-bin2h \- convert a binary file to a C header
Signature · 1 line
Colin Watson                                       [[email protected]]
#1 lore raw
Quoted 10 lines · Colin Watson

Do we need to install grub-bin2h as part of 'make install'? Right now it goes in @prefix@/bin - but as far as I can see it's only used during the build process to build ascii.h and widthspec.h.

(Noticed while wondering how on earth to document the thing properly.)

2011-04-21 Colin Watson <[email protected]>

* Makefile.util.def (grub-bin2h): Don't install.
* docs/man/grub-bin2h.h2m: Remove.

Committed now.

Signature · 1 line
Colin Watson                                       [[email protected]]