Commit 7d9d6c38 authored by erwan's avatar erwan
Browse files

Build: generate a smaller tgz for opam

parent 5a6a3364
......@@ -25,7 +25,7 @@ man:
###############################
# for developpers
include ./Makefile.dev
-include ./Makefile.dev
# not gitted stuff
-include ./Makefile.local
......
......@@ -62,12 +62,16 @@ amend:
# opam-ing
NAME=lustre-v6
SRC=lib bin LICENSE Makefile Makefile.version *.opam
opam-rel :
make-opam-pack $(NAME)
$(NAME).$(VERSION).tgz: $(SRC)
git archive --prefix=$(NAME).$(VERSION)/ -o $@ HEAD $(SRC) test
opam-test :
make-opam-pack $(NAME) -test
opam-rel : $(NAME).$(VERSION).tgz
make-opam-pack $(NAME).$(VERSION) $(NAME)
opam-test : $(NAME).$(VERSION).tgz
make-opam-pack $(NAME).$(VERSION) $(NAME) -test
......
Supports Markdown
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