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

Add basic package documentation.
Cleanup rules.

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

@ -1,2 +1,3 @@
BUGS
README
TODO

@ -1,7 +1,8 @@
#!/usr/bin/make -f
# -*- makefile -*-
#export DH_VERBOSE=1
# Currently is not possible to build with --enable-final
DEB_BUILD_OPTIONS += noopt
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
@ -14,31 +15,6 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-tde.mk
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
dh_testdir
# Regenerate build system
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
autoreconf --install && automake -f && \
$(MAKE) -f admin/Makefile.common && \
touch debian/stamp-bootstrap
clean::
dh_testdir
rm -f debian/stamp-bootstrap
install/kdbg-trinity::
dh_testdir
@ -48,4 +24,3 @@ install/kdbg-trinity::
mkdir -p debian/kdbg-trinity/opt/trinity/share/man
mv debian/kdbg-trinity/usr/share/man/man1 debian/kdbg-trinity/opt/trinity/share/man/
rmdir debian/kdbg-trinity/usr/share/man

@ -1,7 +1,8 @@
#!/usr/bin/make -f
# -*- makefile -*-
#export DH_VERBOSE=1
# Currently is not possible to build with --enable-final
DEB_BUILD_OPTIONS += noopt
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
@ -14,31 +15,6 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-tde.mk
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
dh_testdir
# Regenerate build system
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
autoreconf --install && automake -f && \
$(MAKE) -f admin/Makefile.common && \
touch debian/stamp-bootstrap
clean::
dh_testdir
rm -f debian/stamp-bootstrap
install/kdbg-trinity::
dh_testdir
@ -48,4 +24,3 @@ install/kdbg-trinity::
mkdir -p debian/kdbg-trinity/opt/trinity/share/man
mv debian/kdbg-trinity/usr/share/man/man1 debian/kdbg-trinity/opt/trinity/share/man/
rmdir debian/kdbg-trinity/usr/share/man

Loading…
Cancel
Save