Fix two bugs:

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.

llvm-svn: 18359
This commit is contained in:
Reid Spencer 2004-11-29 14:46:29 +00:00
parent 4f44c95967
commit e1cb6b9e2e
1 changed files with 1 additions and 3 deletions

View 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::