This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,17 @@
Build a package with make
$ . ./helpers.sh
$ mkdir foo
$ cat >foo/Makefile <<EOF
> .DEFAULT: foo
> .PHONY: foo
> foo: ; @echo running makefile
> EOF
$ make_lockdir
$ cat >dune.lock/foo.pkg <<EOF
> (version 0.0.1)
> (build (run %{make}))
> (source (copy $PWD/foo))
> EOF
$ build_pkg foo
running makefile