Commit f17d4326 authored by POGODALLA Sylvain's avatar POGODALLA Sylvain

Fixes tar and opam file construction

parent 9575b716
acgtk.install
acgtk.url
......@@ -42,7 +42,7 @@ tar:
if test -d ../$(TAR_RELEASE) ; then rm ../$(TAR_RELEASE) ; fi
cd .. && ln -s $(ACGtk_DIR) $(TAR_RELEASE) && cd $(ACGtk_DIR)
echo Building $(TAR_RELEASE).tar.gz
tar --exclude="*/.git*" --exclude "*/_build" --exclude "$(TAR_RELEASE)/data" --exclude "$(TAR_RELEASE)/src/data" --exclude "$(TAR_RELEASE)/*.tar.*" --exclude "$(TAR_RELEASE)/TODO" --exclude "*~" --exclude "Makefile" --exclude "acgtk.opam" -zcvf $(TAR_RELEASE).tar.gz -C .. -h $(TAR_RELEASE)
tar --exclude="*/.git*" --exclude "*/_build" --exclude "$(TAR_RELEASE)/data" --exclude "$(TAR_RELEASE)/src/data" --exclude "$(TAR_RELEASE)/*.tar.*" --exclude "$(TAR_RELEASE)/TODO" --exclude "*~" --exclude "Makefile" --exclude "acgtk.url" -zcvf $(TAR_RELEASE).tar.gz -C .. -h $(TAR_RELEASE)
if test -d ../$(TAR_RELEASE) ; then rm ../$(TAR_RELEASE) ; fi
www:
......@@ -74,8 +74,8 @@ OPAM_GIT_REPO_DIR=~/work/dev/opam-contrib/opam-repository/packages
OPAM_ACG_REPO_DIR=~/www-acg/opam
OPAM_CALLIGRAMME_ACG_REPO_DIR=~/www-calligramme-acg/software/opam-acg
acgtk.opam: tar acg-$(VERSION).tar.gz
md5sum acg-$(VERSION).tar.gz | cut -d " " -f 1 | xargs -I{} printf 's!^url .*\$$\!url { src: \\"http://acg.loria.fr/software/acg-$(VERSION).tar.gz\\" checksum: \\"%s\\" }!' {} | xargs -I{} sed -i -e {} $@
acgtk.url: tar acg-$(VERSION).tar.gz
md5sum acg-$(VERSION).tar.gz | cut -d " " -f 1 | xargs -I{} printf 'url {\n src: "http://acg.loria.fr/software/acg-$(VERSION).tar.gz"\n checksum: "%s"\n}\n' {} | cat acgtk.opam - > $@
opam lint $@
test-www-acg: opam-admin
......@@ -87,9 +87,9 @@ sync: opam-admin
opam-admin:
cd $(OPAM_ACG_REPO_DIR) && opam admin make
package-copying: acgtk.opam
package-copying: acgtk.url
mkdir -p $(OPAM_TESTING_DIR)/acgtk/acgtk.$(VERSION_BASENAME) && cp $< $(OPAM_TESTING_DIR)/acgtk/acgtk.$(VERSION_BASENAME)/opam
mkdir -p $(OPAM_GIT_REPO_DIR)/acgtk/acgtk.$(VERSION_BASENAME) && cp $< $(OPAM_GIT_REPO_DIR)/acgtk/acgtk.$(VERSION_BASENAME)/opam
mkdir -p $(OPAM_ACG_REPO_DIR)/packages/acgtk/acgtk.$(VERSION_BASENAME) && cp $< $(OPAM_ACG_REPO_DIR)/packages/acgtk/acgtk.$(VERSION_BASENAME)/opam
opam: version acgtk.opam www package-copying opam-admin sync
opam: version acgtk.url www package-copying opam-admin sync
......@@ -33,6 +33,6 @@ authors: ["Sylvain Pogodalla"]
bug-reports: "sylvain.pogodalla@inria.fr"
synopsis: "Abstract Categorial Grammar development toolkit"
description: "This toolkit provides a compiler and an interpreter for Abstract Categorial Grammars (ACGs). Grammars can be compiled and then used by the interpreter to parse (if the grammar is at most second-order) or to generate terms. See http://acg.loria.fr for more details and bibliographic references."
url { src: "http://acg.loria.fr/software/acg-1.5.0-20181019.tar.gz" checksum: "36b072ea9a50816d1b9a15aa6599f6ca" }
This diff is collapsed.
This diff is collapsed.
(* This file was auto-generated based on "command_parser.messages.new". *)
(* This file was auto-generated based on "command_parser.messages". *)
(* Please note that the function [message] can raise [Not_found]. *)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment