| 1 |
|
| 2 |
|
| 3 |
include /usr/share/dpkg/architecture.mk |
| 4 |
ifneq ($(DEB_HOST_GNU_TYPEscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/DEB_HOST_GNU_TYPE.),$(DEB_BUILD_GNU_TYPEscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/DEB_BUILD_GNU_TYPE.)) |
| 5 |
CROSSscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/CROSS.= --build $(DEB_BUILD_GNU_TYPEscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/DEB_BUILD_GNU_TYPE.) --host $(DEB_HOST_GNU_TYPEscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/DEB_HOST_GNU_TYPE.) |
| 6 |
else |
| 7 |
CROSSscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/CROSS.= --build $(DEB_BUILD_GNU_TYPEscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/DEB_BUILD_GNU_TYPE.) |
| 8 |
endif |
| 9 |
|
| 10 |
export DEB_BUILD_MAINT_OPTIONSscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/DEB_BUILD_MAINT_OPTIONS. = hardening=+all |
| 11 |
|
| 12 |
|
| 13 |
-include /usr/share/dpkg/buildtools.mk |
| 14 |
PKG_CONFIGscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/PKG_CONFIG. ?= pkg-config |
| 15 |
|
| 16 |
%scip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/`%`().: |
| 17 |
dh $@ |
| 18 |
|
| 19 |
override_dh_auto_configurescip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/override_dh_auto_configure().: |
| 20 |
./configure $(CROSSscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/CROSS.) \ |
| 21 |
--prefix=/usr \ |
| 22 |
--bindir=\$${prefix}/games \ |
| 23 |
--datarootdir=\$${prefix}/share/games \ |
| 24 |
--mandir=\$${prefix}/share/man \ |
| 25 |
--infodir=\$${prefix}/share/info \ |
| 26 |
--disable-silent-rules \ |
| 27 |
CXXFLAGS="$(CXXFLAGSscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/CXXFLAGS.) $$($(PKG_CONFIGscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/PKG_CONFIG.) --cflags uuid) -Wno-error=format-security" \ |
| 28 |
LIBS="$$($(PKG_CONFIGscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/PKG_CONFIG.) --libs uuid)" \ |
| 29 |
CFLAGS="$(CFLAGSscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/CFLAGS.)" \ |
| 30 |
LDFLAGS="$(LDFLAGSscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/LDFLAGS.)" \ |
| 31 |
pkgdatadir=\$${prefix}/share/games/7kaa |
| 32 |
|
| 33 |
override_dh_auto_buildscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/override_dh_auto_build().: |
| 34 |
dh_auto_buildscip-debian debian debhelper . dh_auto_build(). |
| 35 |
ifeq (,$(filterscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/filter. nodoc,$(DEB_BUILD_OPTIONSscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/DEB_BUILD_OPTIONS.) $(DEB_BUILD_PROFILESscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/DEB_BUILD_PROFILES.))) |
| 36 |
(cd doc/ && latexmk main.tex) |
| 37 |
endif |
| 38 |
|
| 39 |
override_dh_auto_installscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/override_dh_auto_install().: |
| 40 |
$(MAKEscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/MAKE.) DESTDIR=$(CURDIRscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/CURDIR.)/debian/tmp install |
| 41 |
rm -rfv debian/7kaa/usr/share/games/doc |
| 42 |
ifeq (,$(filterscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/filter. nodoc,$(DEB_BUILD_OPTIONSscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/DEB_BUILD_OPTIONS.) $(DEB_BUILD_PROFILESscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/DEB_BUILD_PROFILES.))) |
| 43 |
install -D doc/main.pdf debian/7kaa-data/usr/share/doc/7kaa/manual.pdf |
| 44 |
endif |
| 45 |
|
| 46 |
override_dh_auto_cleanscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/override_dh_auto_clean().: |
| 47 |
dh_auto_cleanscip-debian debian debhelper . dh_auto_clean(). |
| 48 |
ifeq (,$(filterscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/filter. nodoc,$(DEB_BUILD_OPTIONSscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/DEB_BUILD_OPTIONS.) $(DEB_BUILD_PROFILESscip-debian debian 7kaa 2.15.7+ds-1 7kaa/rules/DEB_BUILD_PROFILES.))) |
| 49 |
(cd doc/ && latexmk -C main.tex) |
| 50 |
endif |