DEB adept: Disable build with --enable-final.

Cleanup rules.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/92/head
Slávek Banko 6 years ago
parent 4b4ec4e90a
commit 0d475ec8a3
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -1,5 +1,8 @@
#!/usr/bin/make -f
# Currently is not possible to build piklab with --enable-final
DEB_BUILD_OPTIONS += noopt
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-tde.mk
@ -19,23 +22,3 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
# Enable us to locate the old libept-trinity library and includes
CPPFLAGS += -I/opt/trinity/include
LDFLAGS += -L/opt/trinity/lib -lept
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
endif
ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
endif
ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
touch debian/stamp-bootstrap
# Store build information
common-binary-post-install-arch common-binary-post-install-indep::

@ -1,5 +1,8 @@
#!/usr/bin/make -f
# Currently is not possible to build piklab with --enable-final
DEB_BUILD_OPTIONS += noopt
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-tde.mk
@ -19,23 +22,3 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
# Enable us to locate the old libept-trinity library and includes
CPPFLAGS += -I/opt/trinity/include
LDFLAGS += -L/opt/trinity/lib -lept
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
endif
ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
endif
ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
touch debian/stamp-bootstrap
# Store build information
common-binary-post-install-arch common-binary-post-install-indep::

Loading…
Cancel
Save