[llvm-commits] CVS: llvm/docs/CommandGuide/Makefile

Reid Spencer reid at x10sys.com
Mon Nov 29 06:46:40 PST 2004



Changes in directory llvm/docs/CommandGuide:

Makefile updated: 1.6 -> 1.7
---
Log message:

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.


---
Diffs of the changes:  (+1 -3)

Index: llvm/docs/CommandGuide/Makefile
diff -u llvm/docs/CommandGuide/Makefile:1.6 llvm/docs/CommandGuide/Makefile:1.7
--- llvm/docs/CommandGuide/Makefile:1.6	Sun Nov 28 22:34:05 2004
+++ llvm/docs/CommandGuide/Makefile	Mon Nov 29 08:46:29 2004
@@ -19,8 +19,6 @@
 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 @@
 	$(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::






More information about the llvm-commits mailing list