[minetest-v04x] 02/04: Remove overrides for dh_clean and dh_auto_clean and unneeded variables.

Markus Koschany apo at moszumanska.debian.org
Sat Jun 10 19:41:55 UTC 2017


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

apo pushed a commit to branch master
in repository minetest-v04x.

commit 3e113727f3b703f13971672e93862bc7e2c19525
Author: Markus Koschany <apo at debian.org>
Date:   Sat Jun 10 20:56:08 2017 +0200

    Remove overrides for dh_clean and dh_auto_clean and unneeded variables.
    
    The override for dh_auto_clean prevented that the automatic cleanup of CMAKE
    generated files could take place.
---
 debian/rules | 43 -------------------------------------------
 1 file changed, 43 deletions(-)

diff --git a/debian/rules b/debian/rules
index e95f2c8..7adf05b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,52 +3,9 @@
 # avoid useless dependencies
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
-# upstream version
-tmpdir:=$(shell mktemp -d)
-wrkdir:=$(shell pwd)
-
 # build-hardening flags
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
-# file names
-sources=$(shell find . -name *.cpp)
-headers=$(shell find . -name *.h)
-cleanremovals= bin \
-	       CMakeFiles \
-	       src/CMakeFiles \
-	       CMakeCache.txt \
-	       CPackConfig.cmake \
-	       CPackSourceConfig.cmake \
-	       Makefile \
-	       cmake_install.cmake \
-	       src/Makefile \
-	       src/cmake_config.h \
-	       src/cmake_install.cmake \
-	       locale \
-	       install_manifest.txt \
-	       minetest.xpm \
-	       minetest.svg \
-	       minetest.png \
-	       src/cguittfont/CMakeFiles/ \
-	       src/cguittfont/Makefile \
-	       src/cguittfont/cmake_install.cmake \
-	       src/cguittfont/libcguittfont.a
-
-override_dh_clean:
-	dh_clean --exclude old/Makefile.old
-	# Delete binary files which are not automatically cleaned when building
-	# minetest twice in a row
-	# There are more issues and this should be fixed by upstream
-	find . -name "*.o" -delete
-	find . -name "*.mo" -delete
-	find . -name "*.a" -delete
-	find . -name "*.bin" -delete
-	find . -name "a.out" -delete
-
-override_dh_auto_clean:
-	dh_clean --exclude old/Makefile.old
-	rm -rf ${cleanremovals}
-
 override_dh_auto_configure:
 	dh_auto_configure -- \
 		-DRUN_IN_PLACE=0 \

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



More information about the Pkg-games-commits mailing list