From 92c1dea250038d1590ab6ce76a6e099fef10d450 Mon Sep 17 00:00:00 2001 From: Christophe Troestler Date: Sat, 11 Nov 2017 14:26:58 +0100 Subject: [PATCH] Generate url file with Github download link --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 271b77f5..7e4828d0 100644 --- a/Makefile +++ b/Makefile @@ -98,7 +98,7 @@ $(TARBALL): $(DIST_FILES) opam: $(TARBALL) $(INSTALL_MKDIR) $(OPAM_DIR) $(CP) -a $(filter-out %~, $(wildcard opam/*)) $(OPAM_DIR) - echo "archive: \"`pwd`/$(TARBALL)\"" > $(OPAM_DIR)/url + echo "archive: \"https://github.com/ocaml/tuareg/releases/download/$(VERSION)/$(TARBALL)\"" > $(OPAM_DIR)/url echo "checksum: \"`md5sum $(TARBALL) | cut -d ' ' -f 1`\"" \ >> $(OPAM_DIR)/url