| Name |
libtool-doc |
| Description |
Generic library support script (documentation) |
| Version |
2.4.7-7build1 |
| Package Base |
libtool |
| Homepage |
https://www.gnu.org/software/libtool/ |
| Maintainers |
['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>'] |
| Contributors |
[] |
| Distro-repo |
https://git.launchpad.net/ubuntu/+source/libtool/tree/?h=ubuntu/noble |
| Sources |
['https://git.launchpad.net/ubuntu/+source/libtool-doc/plain/debian/watch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libtool/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libtool/plain/debian/patches/0011-libtool-optimizing-options-parser-hooks.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libtool/plain/debian/patches/0030-flang-support.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libtool/plain/debian/patches/0040-unsafe-eval.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libtool/plain/debian/patches/0050-documentation.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libtool/plain/debian/patches/0055-pass-flags-unchanged.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libtool/plain/debian/patches/0075-remove-dates-from-docs.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libtool/plain/debian/patches/0080-struct-names.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libtool/plain/debian/patches/0085-tcc-path.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libtool/plain/debian/patches/0090-shell-op.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libtool/plain/debian/patches/bootstrap_options.conf?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libtool/plain/debian/patches/deplib_binary.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libtool/plain/debian/patches/deplibs-ident.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libtool/plain/debian/patches/deplibs_test_disable.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libtool/plain/debian/patches/disable-link-order2.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libtool/plain/debian/patches/grep-spaces.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libtool/plain/debian/patches/libtool-eval-nm.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libtool/plain/debian/patches/link_all_deplibs.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libtool/plain/debian/patches/man-add-whatis-info.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libtool/plain/debian/patches/netbsdelf.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libtool/plain/debian/patches/no_hostname.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libtool/plain/debian/patches/nopic.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libtool/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libtool/plain/debian/patches/version_string.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libtool/plain/debian/patches/version_type.patch?h=ubuntu/noble'] |
| Dependencies |
[] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['debhelper-compat', 'file', 'gfortran | fortran95-compiler', 'automake', 'autoconf', 'help2man', 'texinfo', 'zlib1g-dev', 'gnulib', 'libltdl-dev <!nocheck>'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
noble |
| Licenses |
[] |
| Hash |
207ca78afced32caaadf6f9e34200ec3602440b7770baae4fcd0274d9c8b182c |
#!/usr/bin/make -f
# debian/rules for the Debian GNU Libtool package.
# Copyright © 2003, 2004 Scott James Remnant <scott@netsplit.com>
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# In case they are dropped
SERIAL=4245
VERSION=2.4.7
include /usr/share/dpkg/architecture.mk
DEB_CFLAGS_MAINT_PREPEND := -Wall
DPKG_EXPORT_BUILDFLAGS := 1
include /usr/share/dpkg/buildflags.mk
include /usr/share/dpkg/pkg-info.mk
# libltdl needs to conform to policy
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
AM_VERSION=$(shell aclocal --version | sed 's/.* \([0-9]\+\.[0-9]\+\)\.[0-9]\+$$/\1/;q')
ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
confflags += --build=$(DEB_HOST_GNU_TYPE)
make_check = yes
else
confflags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
make_check = no
endif
ifneq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
make_check = no
endif
# Takes too long
#ifeq (m68k, $(DEB_HOST_ARCH))
# make_check = no
#endif
clean:
dh_testdir
dh_testroot
rm -f build-stamp config-stamp
dh_clean
[ ! -f Makefile ] || $(MAKE) -k distclean
rm -f INSTALL build-aux/compile build-aux/config.guess build-aux/config.sub
rm -f build-aux/texinfo.tex build-aux/missing build-aux/install-sh
rm -f build-aux/mdate-sh build-aux/depcomp README-release doc/libtool.info-2
rm -f .version .version~
rm -f doc/libtool.1 doc/libtool.info doc/libtool.info-1 doc/libtool.info-2 doc/libtoolize.1
rm -f build-aux/ltmain.sh
rm -f Makefile.in configure libltdl/Makefile.in libltdl/configure
rm -rf autom4te.cache
rm -f build-aux/gnupload config-h.in m4/gnulib-cache.m4 m4/gnulib-comp.m4
rm -f build-aux/update-copyright m4/gnulib-tool.m4 build-aux/useless-if-before-free
rm -f build-aux/announce-gen build-aux/gendocs.sh build-aux/vc-list-files
rm -f build-aux/do-release-commit-and-tag build-aux/gnu-web-doc-update
rm -f m4/gnulib-common.m4 m4/00gnulib.m4 maint.mk doc/fdl.texi
rm -f doc/gendocs_template GNUmakefile
# Undo the version change if there is any.
sed -i -e "s/\$$scriptversion.*/\$$scriptversion/" libtoolize.in
sed -i -e "s/\$$scriptversion.*/\$$scriptversion/" build-aux/ltmain.in
sed -i -e 's/^VERSION.*/VERSION=@VERSION@/' build-aux/ltmain.in
config: config-stamp
Makefile: config-stamp
config-stamp:
dh_testdir
# dot files may have been lost in git
echo ${SERIAL} > .serial || true
echo ${VERSION} > .version || true
echo ${VERSION} > .tarball-version || true
sed -i -e "s/\$$scriptversion.*/\$$scriptversion Debian-$(DEB_VERSION)/" libtoolize.in
sed -i -e "s/\$$scriptversion.*/\$$scriptversion Debian-$(DEB_VERSION)/" build-aux/ltmain.in
sed -i -e 's/^VERSION.*/VERSION="@VERSION@ Debian-$(DEB_VERSION)"/' build-aux/ltmain.in
touch README-release
./bootstrap --force --no-git --skip-po --gnulib-srcdir=/usr/share/gnulib/ --copy
CONFIG_SHELL=/bin/bash /bin/bash ./configure \
--prefix=/usr \
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
$(confflags) \
GREP=/bin/grep \
SED=/bin/sed
touch config-stamp
build: build-arch build-indep
build-arch: build-stamp
build-indep: build-stamp
build-stamp: config-stamp
dh_testdir
$(MAKE)
# The system libtool script in Debian must be able to support
# invoking gcc as cc
echo '# ### BEGIN LIBTOOL TAG CONFIG: BINCC' >> libtool
sed -n -e '/^# ### BEGIN LIBTOOL CONFIG/,/^# ### END LIBTOOL CONFIG/p' < libtool \
| grep -B 2 -A 1 -e '^LTCC=' -e '^CC=' \
| sed '/^--/d;s/gcc/cc/g' >> libtool
echo '# ### END LIBTOOL TAG CONFIG: BINCC' >> libtool
echo >> libtool
# The system libtool script in Debian must be able to support
# invoking g++ both by the g++ and c++ names.
sed -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: CXX$$/,/^# ### END LIBTOOL TAG CONFIG: CXX$$/p' < libtool \
| sed -e 's/CONFIG: CXX/CONFIG: BINCXX/g' \
-e 's/g++/c++/g' >> libtool
echo >> libtool
# Add our BINCC and BINCXX tags
sed -e 's/^\(available_tags\)=\"\(.*\)\"/\1=\"\2 BINCC BINCXX\"/' \
< libtool > libtool.tags
mv libtool.tags libtool
# Don't hardcode gcc path information, and don't use nostdlib
sed -e 's/^\(predep_objects\)=.*/\1=""/' \
-e 's/^\(postdep_objects\)=.*/\1=""/' \
-e 's/^\(compiler_lib_search_path\)=.*/\1=""/' \
-e 's:^\(sys_lib_search_path_spec\)=.*:\1="/lib/ /usr/lib/ /usr/X11R6/lib/ /usr/local/lib/":' \
-e 's/^\(archive_cmds=\".*\) -nostdlib /\1 /' \
-e 's/^\(archive_expsym_cmds=\".*\) -nostdlib /\1 /' \
< libtool > libtool.gcc-indep
mv libtool.gcc-indep libtool
# Make libtool executable again
chmod 755 libtool
ifeq ($(make_check), yes)
# Now make sure it works
-$(MAKE) check || touch tests-failed
-cat test-suite.log
-cat tests/testsuite.log
@test ! -f tests-failed
endif
cd doc && makeinfo libtool.texi
cd doc && makeinfo --html --no-split libtool.texi
touch build-stamp
install: build
dh_testdir
dh_testroot
dh_prep
dh_installdirs
$(MAKE) prefix=$(CURDIR)/debian/tmp/usr install
rm -f debian/tmp/usr/share/info/dir
# The file-prefix-map/debug-prefix-map contain the build path,
# which results in unreproducible builds. Strip these arguments
# out of the manpage.
sed -i -e "s, ....-fdebug.-prefix.-map=.*=\. , ,g" \
-e "s, ....-ffile.-prefix.-map=.*=\. , ,g" \
debian/tmp/usr/share/man/man1/libtool.1
dh_install
# Build architecture-independent files here.
binary-indep: build-indep install
dh_testdir -i
dh_testroot -i
# Create symlinks to the one in autotools-dev
rm -f debian/libtool/usr/share/libtool/build-aux/config.guess
ln -s ../../misc/config.guess debian/libtool/usr/share/libtool/build-aux
rm -f debian/libtool/usr/share/libtool/build-aux/config.sub
ln -s ../../misc/config.sub debian/libtool/usr/share/libtool/build-aux
# Sanitize /usr-merge path builds
for f in \
debian/libtool-bin/usr/share/man/man1/libtool.1 \
debian/libtool-bin/usr/bin/libtool ; do cat $$f | \
sed -e 's%/usr/bin/grep%/bin/grep%g' | \
sed -e 's%/usr/bin/sed%/bin/sed%g' | \
sed -e 's%/usr/bin/dd%/bin/dd%g' | \
sed -e 's%${CURDIR}%/build/libtool-2.4.7%g' \
> debian/tmpff ; \
mv debian/tmpff $$f ; \
done
dh_installdocs -i
dh_installinfo -plibtool-doc
dh_installexamples -i
dh_installchangelogs -i ChangeLog
dh_link -i
dh_lintian -i
dh_compress -i
dh_fixperms -i
chmod +x debian/libtool/usr/share/libtool/build-aux/ltmain.sh
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
# Build architecture-dependent files here.
binary-arch: build-arch install
dh_testdir -a
dh_testroot -a
# Sanitize /usr-merge path builds
for f in \
debian/libtool/usr/bin/libtoolize ; do \
cat $$f | \
sed -e 's%/usr/bin/grep%/bin/grep%g' | \
sed -e 's%/usr/bin/sed%/bin/sed%g' | \
sed -e 's%/usr/bin/dd%/bin/dd%g' | \
sed -e 's%${CURDIR}%/build/libtool-2.4.6%g' \
> debian/tmpff ; \
mv debian/tmpff $$f ; \
done
dh_installdocs -plibtool-bin
dh_installdocs -plibltdl7
mkdir -p debian/libltdl-dev/usr/share/doc
cd debian/libltdl-dev/usr/share/doc && ln -sf libltdl7 libltdl-dev
dh_installchangelogs -plibtool-bin
dh_installchangelogs -plibltdl7 ChangeLog
dh_strip -a
dh_lintian -a
dh_link -a
dh_compress -a
dh_fixperms -a
dh_makeshlibs -a -V
dh_installdeb -a
dh_shlibdeps -a
rm -f debian/libltdl-dev.substvars
echo 'automake=automake-${AM_VERSION}' > debian/libltdl-dev.substvars
dh_gencontrol -a
dh_md5sums -a
dh_builddeb -a
binary: binary-indep binary-arch
.PHONY: build build-arch build-indep clean config patch unpatch binary-indep binary-arch binary install