]> granicus.if.org Git - curl/commitdiff
Added rule to generate '../include/curl/curlbuild.h'.
authorGisle Vanem <gvanem@broadpark.no>
Thu, 21 Aug 2008 13:51:07 +0000 (13:51 +0000)
committerGisle Vanem <gvanem@broadpark.no>
Thu, 21 Aug 2008 13:51:07 +0000 (13:51 +0000)
lib/makefile.dj

index c166fcb9f772a297d086307f03a966de0477f4e3..54d51e20f31cb378b130f3eade059611c009ce49 100644 (file)
@@ -16,7 +16,7 @@ OBJECTS := $(patsubst %.c,$(OBJ_DIR)/%.o,$(strip $(CSOURCES)))
 
 CURL_LIB = libcurl.a
 
-all: $(OBJ_DIR) config.h $(CURL_LIB)
+all: $(OBJ_DIR) ../include/curl/curlbuild.h config.h $(CURL_LIB)
 
 $(CURL_LIB): $(OBJECTS)
        ar rs $@ $?
@@ -24,6 +24,9 @@ $(CURL_LIB): $(OBJECTS)
 config.h: config.dos
        cp $^ $@
 
+../include/curl/curlbuild.h: ../include/curl/curlbuild.h.dist
+       cp $^ $@
+
 clean:
        - rm -f $(OBJECTS)