Skip to contentSkip to conversation

kbuild: update scripts/Makefile in preperation for moving docproc

PATCH In review Peter Foley 1 participant 1 message Apr 29, 2011 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH v2 5/7 kbuild: update scripts/Makefile in preperation for moving docproc

This patch updates scripts/Makefile in preperation for moving docproc.

---
 scripts/Makefile |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
scripts/Makefile +5 -2
index fcea261..df7678f 100644
@@ -6,6 +6,7 @@
 # pnmttologo:    Convert pnm files to logo files
 # conmakehash:   Create chartable
 # conmakehash:	 Create arrays for initializing the kernel console tables
+# docproc:       Used in Documentation/DocBook
 
 hostprogs-$(CONFIG_KALLSYMS)     += kallsyms
 hostprogs-$(CONFIG_LOGO)         += pnmtologo
@@ -16,12 +17,14 @@ hostprogs-$(BUILD_C_RECORDMCOUNT) += recordmcount
 always		:= $(hostprogs-y) $(hostprogs-m)
 
 # The following hostprogs-y programs are only build on demand
-hostprogs-y += unifdef
+hostprogs-y += unifdef docproc
 
-# This target is used internally to avoid "is up to date" messages
+# These targets are used internally to avoid "is up to date" messages
 PHONY += build_unifdef
 build_unifdef: scripts/unifdef FORCE
 	@:
+build_docproc: scripts/docproc FORCE
+	@:
 
 subdir-$(CONFIG_MODVERSIONS) += genksyms
 subdir-y                     += mod
Signature · 1 line
1.7.5.rc1

From 0672aebb7e5ab225830e2035b4a7d61d8cf59e84 Mon Sep 17 00:00:00 2001
From: Peter Foley <[email protected]>
Date: Tue, 26 Apr 2011 19:24:06 -0400
Subject: [PATCH 5/7] kbuild: update scripts/Makefile in preperation for moving docproc

---
 scripts/Makefile |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
scripts/Makefile +5 -2
index fcea261..df7678f 100644
@@ -6,6 +6,7 @@
 # pnmttologo:    Convert pnm files to logo files
 # conmakehash:   Create chartable
 # conmakehash:	 Create arrays for initializing the kernel console tables
+# docproc:       Used in Documentation/DocBook
 
 hostprogs-$(CONFIG_KALLSYMS)     += kallsyms
 hostprogs-$(CONFIG_LOGO)         += pnmtologo
@@ -16,12 +17,14 @@ hostprogs-$(BUILD_C_RECORDMCOUNT) += recordmcount
 always		:= $(hostprogs-y) $(hostprogs-m)
 
 # The following hostprogs-y programs are only build on demand
-hostprogs-y += unifdef
+hostprogs-y += unifdef docproc
 
-# This target is used internally to avoid "is up to date" messages
+# These targets are used internally to avoid "is up to date" messages
 PHONY += build_unifdef
 build_unifdef: scripts/unifdef FORCE
 	@:
+build_docproc: scripts/docproc FORCE
+	@:
 
 subdir-$(CONFIG_MODVERSIONS) += genksyms
 subdir-y                     += mod
Signature · 1 line
1.7.5.rc1