[ace-of-penguins] 34/141: debian/rules: remove *.la

Markus Koschany apo-guest at moszumanska.debian.org
Wed Jan 6 13:54:54 UTC 2016


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

apo-guest pushed a commit to branch master
in repository ace-of-penguins.

commit ad0763d699bfc47c4c60abf40f249984033323c2
Author: Jari Aalto <jari.aalto at cante.net>
Date:   Sat Apr 9 13:37:59 2011 +0300

    debian/rules: remove *.la
---
 debian/rules | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/debian/rules b/debian/rules
index 290166f..b7bc95a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -65,9 +65,11 @@ override_dh_auto_test:
 override_dh_clean: clean-man
 	#  You may safely ignore message "invalid host type"
 	if [ -f Makefile ]; then \
-	    $(MAKE)  to_srcdir="$(TOPDIR)" \
+	    $(MAKE) \
+		to_srcdir="$(TOPDIR)" \
 		top_builddir="$(TOPDIR)" \
-		clean distclean || : ; \
+		clean distclean \
+		|| : ; \
 	fi
 
 	rm -rf lib/.lib lib/.deps games/.lib games/.deps */*.[ao] *.[ao]
@@ -95,23 +97,26 @@ override_dh_auto_install:
 
 	# rename programs to start with prefix
 	for NAME in $(PROGS) ; do \
-	  mv $(PKGDIR)/usr/games/$$NAME \
-	     $(PKGDIR)/usr/games/$(PRGPREFIX)$$NAME || exit 1; \
+	    mv $(PKGDIR)/usr/games/$$NAME \
+	       $(PKGDIR)/usr/games/$(PRGPREFIX)$$NAME || exit 1; \
 	done
 
 	$(INSTALL_DIR) $(PKGDIR)/usr/share/applications
 	$(INSTALL_DATA) debian/*.desktop $(PKGDIR)/usr/share/applications
 
-	# delete test-program
+	# delete test program
 	rm -f $(PKGDIR)/usr/games/penguins
 
+	# Not used in Debian
+	rm -f $(LIBROOTDIR)/*.la
+
 override_dh_installdocs:
 	# Policy: COPYING file is not needed
-	dh_installdocs -X COPYING -X.git -XCVS -X.svn docs/*
+	dh_installdocs -X COPYING -X .git -X CVS -X .svn docs/*
 
 %:
 	dh $@
 
-.PHONY: build-man clean-man
+.PHONY: test man build-man clean-man
 
 # End of file

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



More information about the Pkg-games-commits mailing list