rules revision 6e2490fe643cb292ee8e37f9e1d7171e9315129c
12bf5d4796505b4c20680531da96a31e6c2c1144Evan Hunt# Copyright (C) 2006-2008 Sun Microsystems, Inc.
12bf5d4796505b4c20680531da96a31e6c2c1144Evan Hunt# This file is part of VirtualBox Open Source Edition (OSE), as
12bf5d4796505b4c20680531da96a31e6c2c1144Evan Hunt# available from http://www.virtualbox.org. This file is free software;
12bf5d4796505b4c20680531da96a31e6c2c1144Evan Hunt# you can redistribute it and/or modify it under the terms of the GNU
12bf5d4796505b4c20680531da96a31e6c2c1144Evan Hunt# General Public License as published by the Free Software Foundation,
12bf5d4796505b4c20680531da96a31e6c2c1144Evan Hunt# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
12bf5d4796505b4c20680531da96a31e6c2c1144Evan Hunt# distribution. VirtualBox OSE is distributed in the hope that it will
12bf5d4796505b4c20680531da96a31e6c2c1144Evan Hunt# be useful, but WITHOUT ANY WARRANTY of any kind.
12bf5d4796505b4c20680531da96a31e6c2c1144Evan Hunt#export DH_VERBOSE=1
# NODOCS=1 don't build docs, use precompiled UserManual.pdf and
# VirtualBox.chm from $HOME
debrel := $(if $(shell which lsb_release),_$(shell lsb_release -si)_$(shell lsb_release -sc),unknown)
$(shell test $(gccvmaj) -eq 4 -a $(gccvmin) -gt 2 -o $(gccvmaj) -gt 4 && echo "yes"),--with-gcc=gcc-4.2 --with-g++=g++-4.2,) $(if \
$(debcfgs) \
$(debcfgs) \
dh_clean -k
VBoxHeadless; do \
install -D -g 0 -o 0 -m 0644 \
install -D -g 0 -o 0 -m 0644 \
dh_link \
sed \
dh_strip --keep-debug --exclude=libVBoxQtCore.so.4 --exclude=libVBoxQtGui.so.4 --exclude=libVBoxQtNetwork.so.4 --exclude=libqtaccessiblewidgets.so
for f in \
dh_gencontrol -- \