[Pkg-ocaml-maint-commits] [ocamlnet] 07/10: Update packaging
Stéphane Glondu
glondu at moszumanska.debian.org
Thu Aug 11 11:32:58 UTC 2016
This is an automated email from the git hooks/post-receive script.
glondu pushed a commit to branch master
in repository ocamlnet.
commit ee7cf582ef2639c4741140b0eaaf1f0965533fd4
Author: Stephane Glondu <steph at glondu.net>
Date: Thu Aug 11 10:45:42 2016 +0200
Update packaging
---
debian/rules | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 0c2dc3a..94d3f30 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,7 +26,9 @@ CFGFLAGS += -enable-gnutls
dh $@ --with ocaml,apache2
.PHONY: override_dh_auto_configure
-override_dh_auto_configure:
+override_dh_auto_configure: Makefile.conf
+
+Makefile.conf:
./configure $(CFGFLAGS)
ifeq ($(DEB_HOST_ARCH_OS),linux)
# In some build environments (especially cowbuilder and Ubuntu
@@ -50,6 +52,10 @@ override_dh_auto_build:
override_dh_auto_install:
$(MAKE) install DESTDIR=$(DESTDIR)
+.PHONY: override_dh_auto_clean
+override_dh_auto_clean: Makefile.conf
+ $(MAKE) distclean
+
.PHONY: override_dh_install
override_dh_install:
dh_install --fail-missing -X.so.owner -Xmod_netcgi_apache.so
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/ocamlnet.git
More information about the Pkg-ocaml-maint-commits
mailing list