0f8e9aad2a
If someone is going to backport these packages, they may have an interest in using versioned directories. These will most likely attempt to set directories on the build command line, thus it is most natural to insert a suggestion about this option there.
30 lines
949 B
Makefile
Executable File
30 lines
949 B
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 $@
|
|
|
|
override_dh_auto_clean:
|
|
dh_auto_clean --buildsystem=cmake
|
|
|
|
override_dh_auto_build:
|
|
dh_auto_build --buildsystem=cmake
|
|
|
|
# consider using -DUSE_VERSIONED_DIR=ON if backporting
|
|
override_dh_auto_configure:
|
|
dh_auto_configure --buildsystem=cmake -- -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_DOCDIR=share/doc/libopm-core1 -DWHOLE_PROG_OPTIM=ON -DUSE_RUNPATH=OFF
|
|
|
|
override_dh_auto_install:
|
|
dh_auto_install -- install-html
|
|
|
|
override_dh_installdocs:
|
|
dh_installdocs --link-doc=libopm-core1
|