2010-06-15 13:07:29 +00:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
2016-04-08 08:45:05 +00:00
|
|
|
# Uncomment this to turn on verbose mode.
|
2010-06-15 13:07:29 +00:00
|
|
|
# export DH_VERBOSE=1
|
|
|
|
|
|
|
|
ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
|
|
|
|
CMAKE_BUILD_TYPE=Debug
|
|
|
|
else
|
|
|
|
CMAKE_BUILD_TYPE=Release
|
|
|
|
endif
|
|
|
|
|
2011-07-14 09:21:57 +00:00
|
|
|
override_dh_auto_configure:
|
|
|
|
dh_auto_configure -- \
|
2010-07-08 19:03:55 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=$(CMAKE_BUILD_TYPE) \
|
|
|
|
-DCMAKE_BUILD_STRIP=FALSE \
|
2011-12-21 20:27:03 +00:00
|
|
|
-DXDG_STD=TRUE \
|
2014-11-08 22:06:20 +00:00
|
|
|
-DDISABLE_ADVANCE_SIMD=TRUE \
|
2016-04-08 08:45:05 +00:00
|
|
|
-DPACKAGE_MODE=TRUE \
|
|
|
|
-DGSDX_LEGACY=TRUE
|
2010-06-15 13:07:29 +00:00
|
|
|
|
2010-08-30 20:32:59 +00:00
|
|
|
override_dh_strip:
|
2010-07-02 14:55:41 +00:00
|
|
|
dh_strip --package=pcsx2-unstable --dbg-package=pcsx2-unstable-dbg
|
2010-08-30 20:32:59 +00:00
|
|
|
|
2012-05-11 20:21:44 +00:00
|
|
|
override_dh_makeshlibs:
|
2010-08-30 20:32:59 +00:00
|
|
|
|
2013-06-16 07:05:57 +00:00
|
|
|
override_dh_builddeb:
|
|
|
|
dh_builddeb -- -Zxz
|
|
|
|
|
2012-05-11 20:21:44 +00:00
|
|
|
clean:
|
|
|
|
dh_auto_clean
|
|
|
|
dh_clean
|
|
|
|
%:
|
|
|
|
dh $@
|