mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-01-31 01:15:24 +01:00
cmake: implement the new XDG_STD options It allow to move all pcsx2 data from $HOME/PCSX2 to $XDG_CONFIG_DIR/pcsx2. Clearly a matter of personnal preference. debian: drop the useless stable packet from the trunk. Only keep a copy on branch release git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5001 96395faa-99c1-11dd-bbfe-3dabce05a288
35 lines
676 B
Makefile
Executable File
35 lines
676 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
# -*- makefile -*-
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
# export DH_VERBOSE=1
|
|
|
|
ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
|
|
CMAKE_BUILD_TYPE=Debug
|
|
else
|
|
CMAKE_BUILD_TYPE=Release
|
|
endif
|
|
|
|
override_dh_auto_configure:
|
|
dh_auto_configure -- \
|
|
-DCMAKE_BUILD_TYPE=$(CMAKE_BUILD_TYPE) \
|
|
-DCMAKE_BUILD_STRIP=FALSE \
|
|
-DXDG_STD=TRUE \
|
|
-DFORCE_INTERNAL_SDL=TRUE \
|
|
-DPACKAGE_MODE=TRUE
|
|
|
|
clean:
|
|
dh_testdir
|
|
dh_testroot
|
|
dh_auto_clean
|
|
dh_clean
|
|
|
|
override_dh_strip:
|
|
dh_strip --package=pcsx2-unstable --dbg-package=pcsx2-unstable-dbg
|
|
dh_strip --package=pcsx2-plugins-unstable --dbg-package=pcsx2-plugins-unstable-dbg
|
|
|
|
%:
|
|
dh $@ --parallel
|
|
|
|
.PHONY: clean
|