From 05407c9b74b483ba5f7e533d6263d8a6c8e104a5 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 27 Oct 2010 21:56:10 +0000 Subject: (svn r21051) -Fix: [Debian] Silence "uselessly linked" warning -Change: [Debian] Use make install "parameters" to not install some files instead of removing them after installation --- os/debian/rules | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'os/debian') diff --git a/os/debian/rules b/os/debian/rules index 92056a2bc..97094b0c5 100755 --- a/os/debian/rules +++ b/os/debian/rules @@ -17,20 +17,16 @@ endif # to be explicit about the dependencies, in case we're not running in a # clean build root. override_dh_auto_configure: - ./configure $(CROSS) --prefix-dir=/usr --install-dir=debian/openttd --without-allegro --with-zlib --with-sdl --with-png --with-freetype --with-fontconfig --with-icu --with-liblzo2 --with-lzma --without-iconv --disable-strip CFLAGS="$(CFLAGS) -g" + ./configure $(CROSS) --prefix-dir=/usr --install-dir=debian/openttd --without-allegro --with-zlib --with-sdl --with-png --with-freetype --with-fontconfig --with-icu --with-liblzo2 --with-lzma --without-iconv --disable-strip CFLAGS="$(CFLAGS) -g" LDFLAGS="$(LDFLAGS) -Wl,-as-needed" # Do some extra installation override_dh_auto_install: - $(MAKE) install + $(MAKE) install DO_NOT_INSTALL_CHANGELOG=1 DO_NOT_INSTALL_LICENSE=1 # Install the wrapper and make it executable install -d debian/openttd/usr/share/games/openttd/ install -m755 debian/openttd-wrapper debian/openttd/usr/share/games/openttd/ - # Since 0.7.0, upstream Makefile installs some unwanted stuff. - -rm $(CURDIR)/debian/openttd/usr/share/doc/openttd/COPYING - -rm $(CURDIR)/debian/openttd/usr/share/doc/openttd/changelog.txt - # Don't do testing. Because the OpenTTD Makefile always does dependency # generation (even on invalid targets), dh_auto_test thinks there is a # "test" target, while there isn't. -- cgit v1.2.3-54-g00ecf