add CURLINFO_RETRY_AFTER
[m6w6/ext-http] / Makefile.frag
index 3ef9ecbd3ed2213378a5ade26c56e96248e4cb11..3dd9ce2629fa4eedce98563e83add6322feff557 100644 (file)
@@ -5,7 +5,7 @@ PHP_HTTP_HEADERS := $(addprefix $(PHP_HTTP_BUILDDIR)/,$(PHP_HTTP_HEADERS))
 $(PHP_HTTP_BUILDDIR)/%.h: $(PHP_HTTP_SRCDIR)/src/%.h
        @cat >$@ <$<
 
-all: http-build-headers
+$(all_targets): http-build-headers
 clean: http-clean-headers
 
 .PHONY: http-build-headers
@@ -13,4 +13,4 @@ http-build-headers: $(PHP_HTTP_HEADERS)
 
 .PHONY: http-clean-headers
 http-clean-headers:
-       -rm $(PHP_HTTP_HEADERS)
+       -rm -f $(PHP_HTTP_HEADERS)