rules revision e28fd4288ac6c8869454f1917f7712844e32c7e2
7af920b5469a3ebc416dace31e18e2d1abfea057Todd Kloots# Copyright (C) 2006-2010 Oracle Corporation
7af920b5469a3ebc416dace31e18e2d1abfea057Todd Kloots# This file is part of VirtualBox Open Source Edition (OSE), as
7af920b5469a3ebc416dace31e18e2d1abfea057Todd Kloots# available from http://www.virtualbox.org. This file is free software;
# NODOCS=1 don't build docs, use precompiled UserManual.pdf and
# VirtualBox.chm from $HOME
# VERSUFFIX=<suffix> set a particular package version suffix (e.g. _customer)
debrel := $(if $(shell which lsb_release),_$(shell lsb_release -si)_$(shell lsb_release -sc),unknown)
dh_clean -k
sed \
if [ -f $$d/vboxdrv.ko -a -f $$d/vboxnetflt.ko -a -f $$d/vboxnetadp.ko ]; then \
install -D -g 0 -o 0 -m 0644 \
install -D -g 0 -o 0 -m 0644 \
install -D -g 0 -o 0 -m 0644 \
dh_link \
sed \
sed \
dh_strip --keep-debug --exclude=libQtCoreVBox.so.4 --exclude=libQtGuiVBox.so.4 --exclude=libQtNetworkVBox.so.4 --exclude=libQtOpenGLVBox.so.4 --exclude=libqtaccessiblewidgets.so
for f in \
# for some reason, the Qt libraries couldn't be found on newer releases (e.g. Ubuntu hardy)
dh_gencontrol -- \