pcsx2/debian-packager/rules

34 lines
622 B
Plaintext
Raw Normal View History

#!/usr/bin/make -f
2016-04-08 08:45:05 +00:00
# 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 \
-DDISABLE_ADVANCE_SIMD=TRUE \
2016-04-08 08:45:05 +00:00
-DPACKAGE_MODE=TRUE \
-DGSDX_LEGACY=TRUE
override_dh_strip:
dh_strip --package=pcsx2-unstable --dbg-package=pcsx2-unstable-dbg
override_dh_makeshlibs:
override_dh_builddeb:
dh_builddeb -- -Zxz
clean:
dh_auto_clean
dh_clean
%:
dh $@