gregory.hainaut 510d2244ba debian: update of the package round1
* Use some (lots) of improvement from Micove package
* Merge all binary package into 1 would be easier for everyone


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5204 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-05-11 20:21:44 +00:00

29 lines
516 B
Makefile
Executable File

#!/usr/bin/make -f
# 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 \
-DPACKAGE_MODE=TRUE
override_dh_strip:
dh_strip --package=pcsx2-unstable --dbg-package=pcsx2-unstable-dbg
override_dh_makeshlibs:
clean:
dh_auto_clean
dh_clean
%:
dh $@