| Name |
cpp-14-doc |
| Description |
documentation for the GNU C preprocessor (cpp) |
| Version |
14.2.0-1 |
| Package Base |
gcc-14-doc |
| Homepage |
http://gcc.gnu.org/ |
| Maintainers |
['Dmitry Baryshkov <dbaryshkov@gmail.com>'] |
| Contributors |
[] |
| Distro-repo |
https://salsa.debian.org/lumag/gcc-doc |
| Sources |
['https://sources.debian.org/data/non-free/g/gcc-14-doc/14.2.0-1/debian/watch', 'https://sources.debian.org/src/gcc-14-doc/14.2.0-1/debian/patches/0008-gcc.texi-fix-more-info-files-rename.patch', 'https://sources.debian.org/src/gcc-14-doc/14.2.0-1/debian/patches/0009-documentation-fix-spelling-errors.patch', 'https://sources.debian.org/src/gcc-14-doc/14.2.0-1/debian/patches/fix-direntry.diff', 'https://sources.debian.org/src/gcc-14-doc/14.2.0-1/debian/patches/from-debian-gcc-alpha-ieee-doc.diff', 'https://sources.debian.org/src/gcc-14-doc/14.2.0-1/debian/patches/from-debian-gcc-git-doc-updates.diff', 'https://sources.debian.org/src/gcc-14-doc/14.2.0-1/debian/patches/from-debian-gcc-rename-info-files.diff', 'https://sources.debian.org/src/gcc-14-doc/14.2.0-1/debian/patches/gnat-cross-references.diff', 'https://sources.debian.org/src/gcc-14-doc/14.2.0-1/debian/patches/libquadmath.diff', 'https://sources.debian.org/src/gcc-14-doc/14.2.0-1/debian/patches/series'] |
| Dependencies |
['gcc-14-doc', 'gcc-doc-base'] |
| Optional-Dependencies |
['doc-base'] |
| Build-Dependencies |
['debhelper'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
trixie |
| Licenses |
[] |
| Hash |
766f9c85bbbfdb762de64ad359c921ebf71ad9b6ab59bcf3f2fe70a6360d0358 |
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
#export DH_OPTIONS=-v
help: # Default target
.PHONY: help
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
MAKEFLAGS += -j$(NUMJOBS)
endif
DEBIAN_DIR := $(dir $(firstword $(MAKEFILE_LIST)))
include /usr/share/dpkg/pkg-info.mk
GCC_VERSION := $(DEB_VERSION_UPSTREAM)
####
# Simplified from debian/rules.conf of "gcc-5 (5.1.1-1)"
BASE_VERSION := $(shell echo $(GCC_VERSION) | sed -e 's/\([1-9]*\)\..*/\1/')
export GCC_VERSION
export BASE_VERSION
versioned-files:
fs=`echo debian/*BV* | sort -u`; \
for f in $$fs debian/source.lintian-overrides.in; do \
[ -f $$f ] || echo "CANNOT FIND $$f"; \
[ -f $$f ] || continue; \
f2=$$(echo $$f \
| sed 's/BV/$(BASE_VERSION)/;s/\.in$$//'); \
sed -e 's/@BV@/$(BASE_VERSION)/g' \
$$f > $$f2; \
touch -r $$f $$f2; \
done
clean-versioned-files:
fs=`echo debian/*BV* | sort -u`; \
for f in $$fs; do \
[ -f $$f ] || continue; \
f2=$$(echo $$f \
| sed 's/BV/$(BASE_VERSION)/;s/\.in$$//'); \
sed -e 's/@BV@/$(BASE_VERSION)/g' \
$$f > $$f2; \
rm -f $$f2; \
done
#
####
%:
dh $@
override_dh_auto_build:
$(MAKE) -f debian/Makefile
override_dh_auto_clean: clean-versioned-files
$(MAKE) -f debian/Makefile clean
override_dh_auto_install: versioned-files
override_dh_installdocs:
#dh_installdocs -pgcc-doc-base
dh_installdocs --remaining-packages --link-doc=gcc-$(BASE_VERSION)-doc
# Gzipped PDFs often get mis-handled by browsers and/or servers.
# (Thankfully, policy only requires *plain text* documentation to be
# compressed.)
override_dh_compress:
dh_compress -X.pdf
# XXX: Policy says this rule should download the latest, but there
# doesn't seem to be a good way to know what version uscan downloaded,
# so we don't do that yet.
#
# This behaviour is shared by all of the example implementations on
# <https://wiki.ubuntu.com/PackagingGuide/Basic#Changing_the_Original_Tarball>,
# though, so I (SamB) can't bring myself to feel very bad about it.
get-orig-source:
# Have uscan grab upstream tarball
uscan --noconf --force-download --download-version $(GCC_VERSION) \
--no-symlink --destdir=$(CURDIR) \
--check-dirname-regex='(PACKAGE|gcc-doc)(-.+)?' \
$(DEBIAN_DIR)/..
# Distill the tarball to just the docs (and texi2pod)
python3 $(DEBIAN_DIR)/extract-doc-tarball-from-upstream \
gcc-$(GCC_VERSION).tar.xz \
gcc-$(BASE_VERSION)-doc \
$(GCC_VERSION)
# Delete the upstream tarball
rm -f gcc-$(GCC_VERSION).tar.xz