[Pkg-voip-commits] [dahdi-tools] 277/285: fall back to running 'clean' from Makefile.legacy
    tzafrir at debian.org 
    tzafrir at debian.org
       
    Thu Jul  7 19:19:13 UTC 2016
    
    
  
This is an automated email from the git hooks/post-receive script.
tzafrir pushed a commit to branch master
in repository dahdi-tools.
commit 955a8dcb4a1cf27141884d4f1ee96e662e8464db
Author: Tzafrir Cohen <tzafrir at debian.org>
Date:   Sun Jun 26 15:48:01 2016 +0200
    fall back to running 'clean' from Makefile.legacy
    
    If Makefile wasn't yet created, it's possible that we may want to run
    the 'clean' target of Makefile.legacy to clean generated HTML docs.
---
 debian/rules | 6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/debian/rules b/debian/rules
index 7649b33..40f3691 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,6 +29,12 @@ override_dh_auto_build:
 	# FIXME: xpp/README.Astribank.html
 	cp dahdi.rules debian/dahdi.udev
 
+override_dh_auto_clean:
+ifeq ($(wildcard Makefile),)
+	$(MAKE) -f Makefile.legacy clean
+else
+	$(MAKE) clean
+endif
 
 override_dh_auto_install:
 	# also run the 'config' target, in addition to the 'install' target:
-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/dahdi-tools.git
    
    
More information about the Pkg-voip-commits
mailing list