Fix two bugs:
authorReid Spencer <rspencer@reidspencer.com>
Mon, 29 Nov 2004 14:46:29 +0000 (14:46 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Mon, 29 Nov 2004 14:46:29 +0000 (14:46 +0000)
1. Nothing should happen on "make all". Doc generation is quick, but we
   don't want to do it unless we're installing.
2. Correct a dependency for the *.ps files .. didn't notice this before
   because of cruft in my directory. It failed on a clean build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18359 91177308-0d34-0410-b5e6-96231b3b80d8

docs/CommandGuide/Makefile

index 0896c711acee6f16f4b67dec91147c065730694c..5b1afa9aa8a3ec5c457b3b79ca4b4f7d36d4750c 100644 (file)
@@ -19,8 +19,6 @@ HTML = $(patsubst $(BUILD_SRC_DIR)/%.pod, $(BUILD_OBJ_DIR)/%.html, $(POD))
 MAN = $(patsubst $(BUILD_SRC_DIR)/%.pod, $(BUILD_OBJ_DIR)/%.1, $(POD))
 PS = $(patsubst $(BUILD_SRC_DIR)/%.pod, $(BUILD_OBJ_DIR)/%.ps, $(POD))
 
-all-local:: $(HTML) $(MAN) $(PS)
-
 .SUFFIXES:
 .SUFFIXES: .html .pod .1 .ps
 
@@ -34,7 +32,7 @@ $(BUILD_OBJ_DIR)/%.1: %.pod
        $(POD2MAN) --release=$(PACKAGE_VERSION) \
          --center="LLVM Command Guide" $< $@
 
-$(BUILD_OBJ_DIR)/%.ps: man/man1/%.1
+$(BUILD_OBJ_DIR)/%.ps: $(BUILD_OBJ_DIR)/%.1
        $(GROFF) -Tps -man $< > $@
 
 clean-local::