changeset 13874:09298a8ba1eb

Explain how to use custom options while building Debian packages, based on a patch by Guillaume Poirier.
author diego
date Fri, 05 Nov 2004 10:38:33 +0000
parents 89bbd098cfda
children 9fd265705dd2
files README
diffstat 1 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/README	Fri Nov 05 10:14:39 2004 +0000
+++ b/README	Fri Nov 05 10:38:33 2004 +0000
@@ -171,6 +171,20 @@
 
   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