]> granicus.if.org Git - curl/commitdiff
../include/curl/curlbuild.h.dist is not present in release archives so
authorDaniel Stenberg <daniel@haxx.se>
Mon, 8 Jun 2009 13:53:23 +0000 (13:53 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 8 Jun 2009 13:53:23 +0000 (13:53 +0000)
the makefile cannot depend on it

lib/makefile.dj

index 54d51e20f31cb378b130f3eade059611c009ce49..93bb2a812129f1f9e3a044075277f1523b2dd28c 100644 (file)
@@ -16,7 +16,10 @@ OBJECTS := $(patsubst %.c,$(OBJ_DIR)/%.o,$(strip $(CSOURCES)))
 
 CURL_LIB = libcurl.a
 
-all: $(OBJ_DIR) ../include/curl/curlbuild.h config.h $(CURL_LIB)
+# NOTE: if ../include/curl/curlbuild.h is missing, you're probably building this
+# from a CVS checkout and then you need to run buildconf.bat first!
+
+all: $(OBJ_DIR) config.h $(CURL_LIB)
 
 $(CURL_LIB): $(OBJECTS)
        ar rs $@ $?
@@ -24,9 +27,6 @@ $(CURL_LIB): $(OBJECTS)
 config.h: config.dos
        cp $^ $@
 
-../include/curl/curlbuild.h: ../include/curl/curlbuild.h.dist
-       cp $^ $@
-
 clean:
        - rm -f $(OBJECTS)