diff --git a/.gitignore b/.gitignore index ff463fc4..3c7aa4e7 100644 --- a/.gitignore +++ b/.gitignore @@ -17,7 +17,6 @@ curl_cffi.egg-info/ curl-*/ *.tar.xz *.tar.gz -.patched .preprocessed -.so_downloaded include/ +.DS_Store diff --git a/Makefile b/Makefile index 0d62a6db..ad8f4c58 100644 --- a/Makefile +++ b/Makefile @@ -3,12 +3,6 @@ SHELL := bash VERSION := 0.6.0b9 CURL_VERSION := curl-8.1.1 -.preprocessed: curl_cffi/include/curl/curl.h - touch .preprocessed - -curl_cffi/const.py: curl_cffi/include - python preprocess/generate_consts.py $(CURL_VERSION) - $(CURL_VERSION): curl -L "https://curl.se/download/$(CURL_VERSION).tar.xz" \ -o "$(CURL_VERSION).tar.xz" @@ -19,37 +13,37 @@ curl-impersonate-$(VERSION)/chrome/patches: $(CURL_VERSION) -o "curl-impersonate-$(VERSION).tar.gz" tar -xf curl-impersonate-$(VERSION).tar.gz -# TODO add the headers to sdist package -curl_cffi/include/curl/curl.h: curl-impersonate-$(VERSION)/chrome/patches +.preprocessed: curl-impersonate-$(VERSION)/chrome/patches cd $(CURL_VERSION) for p in $