mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-15 05:02:13 +00:00
35 lines
1.3 KiB
Makefile
Executable File
35 lines
1.3 KiB
Makefile
Executable File
#!/usr/bin/make -f
|
|
# -*- makefile -*-
|
|
# Sample debian/rules that uses debhelper.
|
|
# This file was originally written by Joey Hess and Craig Small.
|
|
# As a special exception, when this file is copied by dh-make into a
|
|
# dh-make output file, you may use that output file without restriction.
|
|
# This special exception was added by Craig Small in version 0.37 of dh-make.
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
#export DH_VERBOSE=1
|
|
|
|
%:
|
|
dh $@ --buildsystem cmake --dbg-package=libgit2-dbg --builddirectory=build-debian-release
|
|
dh $@ --buildsystem cmake --builddirectory=build-debian-devel
|
|
|
|
|
|
override_dh_auto_configure:
|
|
dh_auto_configure --builddirectory=build-debian-release -- -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 -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_install:
|
|
find /tmp/buildd/libgit2-0.18.0/debian/
|
|
dh_install
|