Skip to content

Commit

Permalink
release: Fix the creation of the opam-full-<version>.tar.gz archive (…
Browse files Browse the repository at this point in the history
…mccs was missing)
  • Loading branch information
kit-ty-kate committed Jul 2, 2024
1 parent 8e00bd7 commit 0c6f4e1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions release/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,7 @@ s390x-linux: $(OUTDIR)/opam-$(VERSION)-s390x-linux
$(OUTDIR)/opam-full-$(VERSION).tar.gz:
mkdir -p "$(OUTDIR)"
git clone $(GIT_URL) -b $(TAG) "$(OUTDIR)/opam-full-$(VERSION)"
sed 's/^AC_INIT(\[opam\],\[.*\])/AC_INIT([opam],[$(OPAM_VERSION)])/' "$(OUTDIR)/opam-full-$(VERSION)/configure.ac" > \
"$(OUTDIR)/opam-full-$(VERSION)/configure.ac.tmp"
mv "$(OUTDIR)/opam-full-$(VERSION)/configure.ac.tmp" \
"$(OUTDIR)/opam-full-$(VERSION)/configure.ac"
$(MAKE) -C "$(OUTDIR)/opam-full-$(VERSION)" OCAML=$(call pathsearch,ocaml) configure download-ext
$(MAKE) -C "$(OUTDIR)/opam-full-$(VERSION)" OCAML=$(call pathsearch,ocaml) MCCS_ENABLED=true download-ext
cd "$(OUTDIR)" && tar cz -f $(notdir $@) --exclude .git/ opam-full-$(VERSION)
rm -rf "$(OUTDIR)/opam-full-$(VERSION)"

Expand Down

0 comments on commit 0c6f4e1

Please sign in to comment.