Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch ./configure script to Dune configurator #81

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
6 changes: 0 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@
/_build
/*.install
/config.*
/autom4te.cache
/clibs.sexp
/cflags.sexp
/Makefile
/dune-project
4 changes: 2 additions & 2 deletions Makefile.in → Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ distclean: clean
gen:
dune exec -- examples/test_enum.exe

PACKAGE_NAME=@PACKAGE_NAME@
PACKAGE_VERSION=@PACKAGE_VERSION@
PACKAGE_NAME=ocurl
PACKAGE_VERSION=$(shell sed -n 's#(version \([0-9.]+\))#\1#p' dune-project)
NAME=$(PACKAGE_NAME)-$(PACKAGE_VERSION)

.PHONY: release
Expand Down
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,22 @@ Minimum supported libcurl version : 7.28.0
Build
=====

./configure && make
make

Adding new libcurl symbol
=========================

* add symbol in configure.ac
* autoreconf
* make clean
* ./configure
* add symbol in config/discover.ml
* edit curl-helper.c and curl.ml*

Making release
==============

* Check `make gen` with latest libcurl
* Update CHANGES.txt
* Update version in configure.ac
* autoreconf
* Update version in dune-project
* commit
* ./configure && make && make release
* make && make release

TODO:
use dune-release (Update CHANGES.md: replace the first heading by release number)
Expand Down
3 changes: 0 additions & 3 deletions cflags.sexp.in

This file was deleted.

3 changes: 0 additions & 3 deletions clibs.sexp.in

This file was deleted.

Loading