Skip to content

Commit

Permalink
qmake|Resources: Continued cleaning up package building
Browse files Browse the repository at this point in the history
The 'client' and 'base' packs are now created using buildpackage.py
in the appropriate .pro files.
  • Loading branch information
skyjake committed Aug 14, 2014
1 parent b5fd96f commit 8592ff5
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 16 deletions.
10 changes: 0 additions & 10 deletions doomsday/build/scripts/packres.py
Expand Up @@ -71,16 +71,6 @@ def process_dir(path, dest_path):
[ ('client/data', 'data') ] )
p.create('doomsday.pk3')

# net.dengine.base.pack
p = Pack()
p.add_files( [ ('net.dengine.base.pack', '') ] )
p.create('net.dengine.base.pack')

# net.dengine.client.pack
p = Pack()
p.add_files( [ ('client/net.dengine.client.pack', '') ] )
p.create('net.dengine.client.pack')

# libdoom.pk3
p = Pack()
p.add_files(
Expand Down
2 changes: 2 additions & 0 deletions doomsday/client/client.pro
Expand Up @@ -784,6 +784,8 @@ OTHER_FILES += \

# Resources ------------------------------------------------------------------

buildPackage(net.dengine.client, $$OUT_PWD/..)

data.files = $$OUT_PWD/../doomsday.pk3

# These fonts may be needed during the initial startup busy mode.
Expand Down
3 changes: 0 additions & 3 deletions doomsday/config.pri
Expand Up @@ -131,9 +131,6 @@ else:macx: include(config_macx.pri)

# Apply deng_* Configuration -------------------------------------------------

# Location for deploying packages.
!deng_sdk: builtpacks.path = $$DENG_DATA_DIR

deng_nofixedasm {
DEFINES += DENG_NO_FIXED_ASM
}
Expand Down
2 changes: 1 addition & 1 deletion doomsday/libcore/libcore.pro
Expand Up @@ -197,7 +197,7 @@ macx {
doPostLink("cp -fRp libdeng_core*dylib ../client/Doomsday.app/Contents/Frameworks")
}

buildPackage(net.dengine.stdlib, $$OUT_PWD)
buildPackage(net.dengine.stdlib, $$OUT_PWD/..)
deployLibrary()

deng_sdk {
Expand Down
4 changes: 4 additions & 0 deletions doomsday/libdoomsday/libdoomsday.pro
Expand Up @@ -139,6 +139,10 @@ SOURCES += \
win32: SOURCES += \
src/filesys/fs_windows.cpp

# Resources ------------------------------------------------------------------

buildPackage(../net.dengine.base, $$OUT_PWD/..)

# Installation ---------------------------------------------------------------

macx {
Expand Down
2 changes: 1 addition & 1 deletion doomsday/libgui/libgui.pro
Expand Up @@ -231,5 +231,5 @@ macx {
linkBinaryToBundledAssimp(libdeng_gui.1.dylib, ..)
}

buildPackage(net.dengine.stdlib.gui, $$OUT_PWD)
buildPackage(net.dengine.stdlib.gui, $$OUT_PWD/..)
deployLibrary()
1 change: 0 additions & 1 deletion doomsday/macros.pri
Expand Up @@ -108,7 +108,6 @@ defineTest(deployLibrary) {
target.path = $$DENG_SDK_LIB_DIR
export(target.path)
}
!macx: INSTALLS *= builtpacks
export(INSTALLS)
}

Expand Down

0 comments on commit 8592ff5

Please sign in to comment.