From d6f15b8616afd3c0b3c92b315cafdc2002be2c05 Mon Sep 17 00:00:00 2001 From: diego Date: Fri, 5 Nov 2004 10:38:33 +0000 Subject: Explain how to use custom options while building Debian packages, based on a patch by Guillaume Poirier. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13875 b3059339-0415-0410-9bf9-f77b7e298cf2 --- README | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README b/README index 579527dd23..4a716a5de8 100644 --- a/README +++ b/README @@ -171,6 +171,20 @@ NOTE: If you run Debian you can configure, compile and build a proper Debian fakeroot debian/rules binary +If you want to pass custom options to configure, you can set up the +DEB_BUILD_OPTIONS environment variable. For instance, if you want GUI +and OSD menu support you would use: + + DEB_BUILD_OPTIONS="--enable-gui --enable-menu" fakeroot debian/rules binary + +You can also pass some variables to the Makefile. For example, if you want +to compile with gcc 3.4 even if it's not the default compiler: + + CC=gcc-3.4 DEB_BUILD_OPTIONS="--enable-gui" fakeroot debian/rules clean + +To clean up the source tree run the following command: + + fakeroot debian/rules clean ____________________________________________ STEP5: Installing the onscreen display fonts -- cgit v1.2.3