rules revision 2c691730ab202620fe427110841aa4e0075b7cca
86N/A# Copyright (C) 2006-2010 Oracle Corporation 86N/A# This file is part of VirtualBox Open Source Edition (OSE), as 86N/A# you can redistribute it and/or modify it under the terms of the GNU 86N/A# General Public License as published by the Free Software Foundation, 86N/A# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE 86N/A# distribution. VirtualBox OSE is distributed in the hope that it will 86N/A# be useful, but WITHOUT ANY WARRANTY of any kind. 86N/A# NOTE: if you make changes to this file, please check if the updates should 86N/A#export DH_VERBOSE=1 86N/A# OSE=1 force VBOX_OSE 86N/A# NOPARALLEL=1 compile with -j1 86N/A# LINUX=<dir> compile vboxdrv against Linux found in <dir> 86N/A# VERBOSE=1 verbose build 86N/A# DEBUG=1 debug build 618N/A# NOSUBVER=1 disable generation of the sub-version field (which is 86N/A# either the subversion rev [if available] or the build date) 844N/A# NOMODS=1 don't build any module 86N/A# NOQT=1 don't build the Qt GUI 1258N/A# EFI include the EFI binary from prebuild 86N/A# VERSUFFIX=<suffix> set a particular package version suffix (e.g. _customer) 2899N/A# HEADLESS=1 build the headless version 2899N/A# NOWEBSVC=1 don't build the webservice API, default for OSE 86N/A# STAGEDISO=<path> don't build the VBoxAdditions, use the precompiled .iso 86N/A# PKGDIR=<path> where to store the final package(s) svn info|sed -e "s/^Revision: \(.*\)/-\1/;t;d"; else \ # shipping Linux kernel modules with bleeding-edge releases doesn't make sense # Locations of custom built Qt libraries (see below) # Build modules for every kernel we find in /lib/modules/* # Build architecture-dependent files here. -e
's|%VERPKG%|$(verpkg)|g' \
-e
's|%PACKAGE%|virtualbox|g' \
-e
's|%PACKAGE%|virtualbox|g' \
sed -e
's|%VER%|$(debver)|g' \
-e
's|%DATE%|$(shell date -R)|g' \
-e
's|%DEBREL%|$(subst _,~,$(debrel))|g' \
-e
's|%VERPKG%|$(verpkg)|g' \
# manually strip our R0/GC modules, dh_strip cannot handle them # for some reason, the Qt libraries couldn't be found on newer releases (e.g. Ubuntu hardy)