[mupen64plus] 60/262: Don't let clean target fail because of removed glN64

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 05:59:16 UTC 2015


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

ecsv-guest pushed a commit to branch master
in repository mupen64plus.

commit 5448fd578035b614f17c305044dd26b12a483d68
Author: Sven Eckelmann <sven.eckelmann at gmx.de>
Date:   Wed Jun 3 17:10:06 2009 +0200

    Don't let clean target fail because of removed glN64
---
 debian/rules | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/debian/rules b/debian/rules
index 3ffb820..4b8aa6b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,13 @@
 %:
 	dh --with quilt $@
 
+clean:
+	mkdir -p "$(CURDIR)/glN64"
+	echo "%:\n.PHONY: clean" > "$(CURDIR)/glN64/Makefile"
+	dh --with quilt $@
+	rm -rf "$(CURDIR)/glN64"
+	rm -rf "$(CURDIR)/plugins"
+
 override_dh_auto_build:
 	mkdir -p $(CURDIR)/plugins
 	LDFLAGS='-Wl,--as-needed' $(MAKE) all
@@ -13,3 +20,5 @@ override_dh_auto_install:
 	mkdir -p $(CURDIR)/debian/tmp/usr/share/man/man1/
 	zcat $(CURDIR)/debian/tmp/usr/man/man1/mupen64plus.1.gz|gzip -9 -n > \
 	     $(CURDIR)/debian/tmp/usr/share/man/man1/mupen64plus.1.gz
+
+.PHONY: clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mupen64plus.git



More information about the Pkg-games-commits mailing list