[llvm-commits] [llvm] r79826 - /llvm/trunk/docs/CommandGuide/Makefile
Douglas Gregor
dgregor at apple.com
Sat Aug 22 22:24:50 PDT 2009
Author: dgregor
Date: Sun Aug 23 00:24:49 2009
New Revision: 79826
URL: http://llvm.org/viewvc/llvm-project?rev=79826&view=rev
Log:
Don't install the man page for FileCheck
Modified:
llvm/trunk/docs/CommandGuide/Makefile
Modified: llvm/trunk/docs/CommandGuide/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CommandGuide/Makefile?rev=79826&r1=79825&r2=79826&view=diff
==============================================================================
--- llvm/trunk/docs/CommandGuide/Makefile (original)
+++ llvm/trunk/docs/CommandGuide/Makefile Sun Aug 23 00:24:49 2009
@@ -48,6 +48,12 @@
MAN := $(patsubst $(SRC_DOC_DIR)%.pod, $(DST_MAN_DIR)%.1, $(POD))
PS := $(patsubst $(SRC_DOC_DIR)%.pod, $(DST_PS_DIR)%.ps, $(POD))
+# The set of man pages we will not install
+NO_INSTALL_MANS = $(DST_MAN_DIR)FileCheck.1
+
+# The set of man pages that we will install
+INSTALL_MANS = $(filter-out $(NO_INSTALL_MANS), $(MAN))
+
.SUFFIXES:
.SUFFIXES: .html .pod .1 .ps
@@ -75,7 +81,7 @@
MAN_DIR := $(PROJ_mandir)/man1
PS_DIR := $(PROJ_docsdir)/ps
-install-local:: $(HTML) $(MAN) $(PS)
+install-local:: $(HTML) $(INSTALL_MANS) $(PS)
$(Echo) Installing HTML CommandGuide Documentation
$(Verb) $(MKDIR) $(HTML_DIR)
$(Verb) $(DataInstall) $(HTML) $(HTML_DIR)
@@ -83,7 +89,7 @@
$(Verb) $(DataInstall) $(PROJ_SRC_DIR)/manpage.css $(HTML_DIR)
$(Echo) Installing MAN CommandGuide Documentation
$(Verb) $(MKDIR) $(MAN_DIR)
- $(Verb) $(DataInstall) $(MAN) $(MAN_DIR)
+ $(Verb) $(DataInstall) $(INSTALL_MANS) $(MAN_DIR)
$(Echo) Installing PS CommandGuide Documentation
$(Verb) $(MKDIR) $(PS_DIR)
$(Verb) $(DataInstall) $(PS) $(PS_DIR)
More information about the llvm-commits
mailing list