[Pkg-ocaml-maint-commits] [ocsigenserver] 02/05: Run distclean only when Makefile.config is present

Stéphane Glondu glondu at alioth.debian.org
Sun Nov 10 12:48:33 UTC 2013


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

glondu pushed a commit to branch master
in repository ocsigenserver.

commit ece02545577b310d9068a071d30b53d1ffe44ea1
Author: Stephane Glondu <steph at glondu.net>
Date:   Sun Nov 10 13:23:39 2013 +0100

    Run distclean only when Makefile.config is present
---
 debian/rules |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index 30de511..81fb6dc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -62,3 +62,7 @@ endif
 .PHONY: override_dh_install
 override_dh_install:
 	dh_install --fail-missing -X.sample
+
+.PHONY: override_dh_auto_clean
+override_dh_auto_clean:
+	[ ! -f Makefile.config ] || $(MAKE) distclean

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



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