[Pkg-ocaml-maint-commits] [tyxml] 16/19: Adapt d/rules to upstream's new build system

Mehdi Dogguy mehdi at moszumanska.debian.org
Sun Oct 18 09:55:49 UTC 2015


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

mehdi pushed a commit to branch master
in repository tyxml.

commit 5de3f5c21cd0e43e7c99c301774f7f410d53f1a9
Author: Mehdi Dogguy <mehdi at debian.org>
Date:   Sun Oct 18 11:30:14 2015 +0200

    Adapt d/rules to upstream's new build system
---
 debian/changelog |  1 +
 debian/rules     | 14 +++++++-------
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index cb335fc..dd980e5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ tyxml (3.5.0-1) UNRELEASED; urgency=medium
   * New upstream release
   * Build-Depend on camlp4 instead of camlp4-extrac
   * Add libuutf-ocaml-dev to Build-Depends
+  * Adapt d/rules to upstream's new build system
 
  -- Mehdi Dogguy <mehdi at debian.org>  Sun, 18 Oct 2015 11:17:41 +0200
 
diff --git a/debian/rules b/debian/rules
index f706589..3080d7a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,23 +16,23 @@ override_dh_install:
 
 .PHONY: override_dh_auto_configure
 override_dh_auto_configure:
-	make setup.exe
-	./setup.exe -configure --prefix /usr --destdir '$(DESTDIR)' --docdir /usr/share/doc/libtyxml-ocaml-dev
+	$(MAKE) configure
+	./configure --prefix /usr --destdir '$(DESTDIR)' --docdir /usr/share/doc/libtyxml-ocaml-dev
 
 .PHONY: override_dh_auto_build
 override_dh_auto_build:
-	./setup.exe -build
-	./setup.exe -doc
+	$(MAKE) build
+	$(MAKE) doc
 
 .PHONY: override_dh_auto_test
 override_dh_auto_test:
-	./setup.exe -test
+	$(MAKE) test
 
 .PHONY: override_dh_auto_install
 override_dh_auto_install:
 	mkdir -p '$(OCAMLFIND_DESTDIR)'
-	./setup.exe -install
+	$(MAKE) install
 
 .PHONY: override_dh_auto_clean
 override_dh_auto_clean:
-	if [ -x setup.exe ]; then ./setup.exe -distclean; fi
+	$(MAKE) distclean

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



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