Changeset 14552 in vbox
- Timestamp:
- Nov 25, 2008 7:41:51 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debian/rules
r14486 r14552 26 26 # VirtualBox.chm from $HOME 27 27 # NOMODS=1 don't build any module 28 # NOQT=1 don't build the Qt GUI 28 29 # HEADLESS=1 build the headless version 29 30 # STAGEDISO=<path> don't build the VBoxAdditions, use the precompiled .iso … … 40 41 ose := 1 41 42 NOMODS ?= $(ose) 43 NOQT ?= $(HEADLESS) 42 44 43 45 ifneq ($(wildcard $(verfile)),) … … 74 76 dh_testdir 75 77 cd $(vboxroot) && ./configure --odir=$(current)/debian --disable-qt3 $(if \ 78 $(NOQT),--disable-qt,) $(if \ 76 79 $(ose),--ose,) $(if $(LINUX),--with-linux=$(LINUX),) $(if \ 77 80 $(filter _Ubuntu_dapper,$(debrel)),--with-gcc=gcc-3.4 --with-g++=g++-3.4,) $(if \ … … 162 165 install -d -g 0 -o 0 $(prefix)/usr/share/$(package) 163 166 install -d -g 0 -o 0 $(prefix)/usr/share/doc/$(verpkg) 164 $(if $( HEADLESS),,mv $(archdir)/VirtualBox.desktop \167 $(if $(NOQT),,mv $(archdir)/VirtualBox.desktop \ 165 168 $(prefix)/usr/share/applications/VirtualBox.desktop) 166 169 install -d -g 0 -o 0 $(prefix)/usr/share/pixmaps … … 177 180 mv $(archdir)/*.so $(prefix)/usr/lib/$(package) 178 181 mv $(archdir)/*.so.4 $(prefix)/usr/lib/$(package) || true 179 $(if $( HEADLESS),,mv $(archdir)/nls $(prefix)/usr/share/$(package))182 $(if $(NOQT),,mv $(archdir)/nls $(prefix)/usr/share/$(package)) 180 183 mv $(archdir)/src $(prefix)/usr/share/$(package) 181 184 rm $(archdir)/VBox.sh … … 183 186 mv $(archdir)/VBoxSysInfo.sh $(prefix)/usr/share/$(package) 184 187 for i in VBoxManage VBoxSVC $(if $(HEADLESS),,VBoxSDL) \ 185 $(if $( HEADLESS),,VirtualBox) $(if $(ose),,VBoxVRDP) \188 $(if $(NOQT),,VirtualBox) $(if $(ose),,VBoxVRDP) \ 186 189 VBoxHeadless; do \ 187 190 mv $(archdir)/$$i $(prefix)/usr/lib/$(package); done … … 194 197 done) 195 198 ifeq ($(ose),) 196 $(if $( HEADLESS),,mv $(archdir)/kchmviewer $(prefix)/usr/lib/$(package))199 $(if $(NOQT),,mv $(archdir)/kchmviewer $(prefix)/usr/lib/$(package)) 197 200 dh_installdocs \ 198 201 $(archdir)/UserManual*.pdf $(archdir)/VirtualBox*.chm \ … … 209 212 rmdir $(prefix)/opt 210 213 dh_link \ 211 $(if $( HEADLESS),,usr/bin/VBoxusr/bin/VirtualBox) \214 $(if $(NOQT),,usr/bin/VBox usr/bin/VirtualBox) \ 212 215 usr/bin/VBox usr/bin/VBoxManage \ 213 216 $(if $(HEADLESS),,usr/bin/VBox usr/bin/VBoxSDL) \
Note:
See TracChangeset
for help on using the changeset viewer.