[Pkg-ocaml-maint-commits] [opam] 09/12: Generate core/opamGitVersion.ml core/opamScript.ml during the configure phase

Mehdi Dogguy mehdi at moszumanska.debian.org
Wed Oct 22 22:12:54 UTC 2014


This is an automated email from the git hooks/post-receive script.

mehdi pushed a commit to branch master
in repository opam.

commit 919178d08724f0cfed6026b61c14319badac9728
Author: Mehdi Dogguy <mehdi at debian.org>
Date:   Wed Oct 22 23:37:44 2014 +0200

    Generate core/opamGitVersion.ml core/opamScript.ml during the configure phase
---
 debian/rules | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index eca4e3f..6e1c63f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,6 +12,7 @@ BINEXT = $(if $(OCAML_OPT_ARCH),native,byte)
 .PHONY: override_dh_auto_configure
 override_dh_auto_configure:
 	./configure
+	$(MAKE) -C src core/opamGitVersion.ml core/opamScript.ml
 	for file in `ls -1 debian/buildsys/`; do \
 		ln -s debian/buildsys/$$file; \
 	done 
@@ -47,7 +48,7 @@ override_dh_auto_clean:
 	done
 	$(MAKE) clean || true
 	$(RM) -rf _build
-	$(RM) -f src/core/opamVersion.ml Makefile.config config.log config.status *.$(BINEXT)
+	$(RM) -f src/core/opamVersion.ml src/core/opamGitVersion.ml src/core/opamScript.ml Makefile.config config.log config.status *.$(BINEXT)
 
 .PHONY: override_dh_compress
 override_dh_compress:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/opam.git



More information about the Pkg-ocaml-maint-commits mailing list