mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-20 18:33:35 +00:00
29 lines
1002 B
Makefile
Executable File
29 lines
1002 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
# -*- makefile -*-
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
#export DH_VERBOSE=1
|
|
|
|
|
|
override_dh_auto_configure:
|
|
dh_auto_configure --builddirectory=build-debian-release -- -DTHREADSAFE:BOOL=ON -DBUILD_CLAR:BOOL=ON -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo
|
|
dh_auto_configure --builddirectory=build-debian-devel -- -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_SHARED_LIBS:BOOL=OFF -DTHREADSAFE:BOOL=ON -DBUILD_CLAR:BOOL=OFF
|
|
|
|
override_dh_makeshlibs:
|
|
dh_makeshlibs -V 'libgit2-0 (>= 0.18.0)'
|
|
|
|
override_dh_auto_build :
|
|
dh_auto_build --builddirectory=build-debian-release
|
|
dh_auto_build --builddirectory=build-debian-devel
|
|
|
|
override_dh_auto_install :
|
|
dh_auto_install --builddirectory=build-debian-release
|
|
dh_auto_install --builddirectory=build-debian-devel
|
|
|
|
override_dh_installexamples:
|
|
dh_installexamples --exclude .gitignore
|
|
|
|
%:
|
|
dh $@ --buildsystem cmake --dbg-package=libgit2-dbg --builddirectory=build-debian-release
|
|
dh $@ --buildsystem cmake --builddirectory=build-debian-devel
|