[Pkg-ocaml-maint-commits] [galax] 03/04: Generate a dummy Makefile.conf so that "make clean" doesn't fail. (Closes: #750316).
Mehdi Dogguy
mehdi at moszumanska.debian.org
Sat Aug 9 13:21:51 UTC 2014
This is an automated email from the git hooks/post-receive script.
mehdi pushed a commit to branch master
in repository galax.
commit a1663025ea561335b44705d806e3db4f6416a4c5
Author: Mehdi Dogguy <mehdi at debian.org>
Date: Sat Aug 9 14:17:35 2014 +0200
Generate a dummy Makefile.conf so that "make clean" doesn't fail. (Closes: #750316).
---
debian/changelog | 2 ++
debian/rules | 4 ++++
2 files changed, 6 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 7cf7409..159dd86 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ galax (1.1-11.1) UNRELEASED; urgency=low
* Team upload.
* Fix space/tab issues in some Makefiles.
+ * Generate a dummy Makefile.conf so that "make clean" doesn't fail.
+ (Closes: #750316).
-- Mehdi Dogguy <mehdi at debian.org> Sat, 09 Aug 2014 14:02:47 +0200
diff --git a/debian/rules b/debian/rules
index 149c159..75bfe90 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,9 @@ include /usr/share/ocaml/ocamlvars.mk
override_dh_auto_configure:
if [ ! -d doc.backup ]; then cp -a doc doc.backup; fi
+ touch config/Makefile.conf
$(MAKE) clean
+ rm config/Makefile.conf
for ext in sub guess; do \
if [ -f /usr/share/misc/config.$$ext ] && \
! [ -f debian/config.orig.$$ext ]; then \
@@ -31,7 +33,9 @@ override_dh_auto_build:
override_dh_auto_clean:
if [ -d doc -a ! -d doc.backup ]; then mv doc doc.backup; fi
rm -Rf doc
+ touch config/Makefile.conf
$(MAKE) clean
+ rm config/Makefile.conf
if [ -d doc.backup ]; then mv doc.backup doc; fi
for ext in sub guess; do \
if [ -f debian/config.orig.$$ext ] ; then \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/galax.git
More information about the Pkg-ocaml-maint-commits
mailing list