Fixed the conditional targets for postscript files and tags.
authorJohn Criswell <criswell@uiuc.edu>
Thu, 2 Oct 2003 19:02:02 +0000 (19:02 +0000)
committerJohn Criswell <criswell@uiuc.edu>
Thu, 2 Oct 2003 19:02:02 +0000 (19:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8823 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index 0787891f7a435c2775c169a53cc836b908013e96..9152f8edc60327c5c5bc8ff06740b9e2f8a50263 100644 (file)
@@ -550,7 +550,7 @@ endif
 # Create a TAGS database for emacs
 #------------------------------------------------------------------------
 
-ifdef ETAGS
+ifneq ($(ETAGS),false)
 ifeq ($(LEVEL), .)
 SRCDIRS := $(wildcard $(SourceDir)/include $(SourceDir)/lib $(SourceDir)/tools)
 
@@ -729,7 +729,7 @@ YACC_OUTPUT = $(addprefix $(YACC_FILES:%.y=%), .h .cpp .output)
        @$(DATE) > $@
 
 # To create postscript files from dot files...
-ifdef DOT
+ifneq ($(DOT),false)
 %.ps: %.dot
        ${DOT} -Tps < $< > $@
 else