diff options
author | rubidium <rubidium@openttd.org> | 2010-10-27 21:56:10 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-10-27 21:56:10 +0000 |
commit | 05407c9b74b483ba5f7e533d6263d8a6c8e104a5 (patch) | |
tree | 91a32bbf427e878e8ca4f5dd9292708583308173 /os | |
parent | c311f18ba40f0cbe749f2881caf9998f76e5c006 (diff) | |
download | openttd-05407c9b74b483ba5f7e533d6263d8a6c8e104a5.tar.xz |
(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
Diffstat (limited to 'os')
-rwxr-xr-x | os/debian/rules | 8 |
1 files changed, 2 insertions, 6 deletions
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. |