Codebase list gdb / 1c396c0
Import Debian changes 10.1-1.5 gdb (10.1-1.5) unstable; urgency=medium * Non-maintainer upload. * Don't build gdb-source when only building architecture dependent packages. * Don't run the tests when only building arch-indep packages. * Support the nodoc profile. Closes: #870646. Matthias Klose authored 3 years ago Héctor Orón Martínez committed 3 years ago
4 changed file(s) with 39 addition(s) and 12 deletion(s). Raw diff Collapse all Expand all
0 gdb (10.1-1.5) unstable; urgency=medium
1
2 * Non-maintainer upload.
3 * Don't build gdb-source when only building architecture dependent packages.
4 * Don't run the tests when only building arch-indep packages.
5 * Support the nodoc profile. Closes: #870646.
6
7 -- Matthias Klose <doko@debian.org> Thu, 17 Dec 2020 10:06:12 +0100
8
09 gdb (10.1-1.4) unstable; urgency=medium
110
211 * Non-maintainer upload.
2424 libutil-freebsd-dev [kfreebsd-any],
2525 # TeX[info] deps
2626 texinfo (>= 4.7-2.2),
27 texlive-base,
27 texlive-base <!nodoc>,
2828 # Libdev deps
2929 libexpat1-dev,
3030 libncurses5-dev,
2424 libutil-freebsd-dev [kfreebsd-any],
2525 # TeX[info] deps
2626 texinfo (>= 4.7-2.2),
27 texlive-base,
27 texlive-base <!nodoc>,
2828 # Libdev deps
2929 libexpat1-dev,
3030 libncurses5-dev,
2929 # Support parallel=<n> in DEB_BUILD_OPTIONS (see #209008)
3030 ifneq (,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))
3131 NJOBS := -j $(subst parallel=,,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS))))
32 endif
33
34 ifneq (,$(filter nodoc, $(DEB_BUILD_PROFILES)))
35 nodoc_profile = yes
3236 endif
3337
3438 # Don't include docs with GFDL invariant sections
3842 FORCE_CONTROL = FORCE
3943 endif
4044 ifneq ($(GFDL_INVARIANT_FREE),yes)
41 with_doc := yes
45 ifneq ($(nodoc_profile),yes)
46 with_doc := yes
47 endif
4248 endif
4349
4450 # ---------- settings for cross builds ----------
222228
223229 stamps/build-%: stamps/configure-%
224230 V=1 $(MAKE) -C $(builddir_$*) $(NJOBS)
225 $(if $(filter default, $*), \
226 $(MAKE) -C $(builddir_default) info)
227 $(if $(filter default, $*), \
228 $(MAKE) -C $(builddir_$*)/gdb/doc refcard.dvi refcard.ps)
231 $(if $(filter yes, $(nodoc_profile)),, \
232 $(if $(filter default, $*), \
233 $(MAKE) -C $(builddir_default) info))
234 $(if $(filter yes, $(nodoc_profile)),, \
235 $(if $(filter default, $*), \
236 $(MAKE) -C $(builddir_$*)/gdb/doc refcard.dvi refcard.ps))
229237 touch $@
230238
231239 stamps/check: stamps/build-default
232 ifeq ($(run_tests),yes)
240 ifneq (,$(filter arch, $(pkgs)))
241 ifeq ($(run_tests),yes)
233242 $(MAKE) $(NJOBS) -C $(builddir_default)/gdb check \
234243 || echo "**Tests failed, of course.**"
244 endif
235245 endif
236246 touch $@
237247
336346 install -d debian/gdb-minimal/etc/gdb/gdbinit.d
337347 install -m 644 debian/gdbinit debian/gdb-minimal/etc/gdb/
338348
349 ifneq (,$(filter indep, $(pkgs)))
339350 : # gdb-source install
340351 install -d debian/gdb-source/usr/src
341352 mkdir -p $(builddir_source)
350361 --numeric-owner --owner=0 --group=0 \
351362 --sort=name \
352363 $(notdir $(builddir_source))
364 endif
353365
354366 ifeq ($(with_doc),yes)
355367 install -d debian/gdb-doc/usr/share/info
393405 ifeq (,$(filter minimal, $(variants)))
394406 gdb_substvars = -Vgdb:minimal='gdb-minimal (= $${binary:Version})'
395407 endif
408
409 build-indep: pkgs += indep
410 build-arch: pkgs += arch
411 build: pkgs += arch indep
396412
397413 build-indep: stamps/build-default $(if $(filter yes,$(with_doc)),stamps/build-doc)
398414 build-arch: $(foreach v,$(variants),stamps/build-$(v)) stamps/check
413429 binary-arch: build install
414430 dh_installdocs -pgdb$(TS) \
415431 gdb/NEWS gdb/README gdb/doc/refcard.tex \
416 $(builddir_default)/gdb/doc/refcard.dvi \
417 $(builddir_default)/gdb/doc/refcard.ps \
432 $(if $(filter yes, $(nodoc_profile)),, \
433 $(builddir_default)/gdb/doc/refcard.dvi \
434 $(builddir_default)/gdb/doc/refcard.ps) \
418435 gdb/contrib/
419436 dh_installchangelogs -pgdb$(TS) gdb/ChangeLog
420437
421438 ifneq (,$(filter minimal, $(variants)))
422439 dh_installdocs -pgdb-minimal \
423440 gdb/NEWS gdb/README gdb/doc/refcard.tex \
424 $(builddir_default)/gdb/doc/refcard.dvi \
425 $(builddir_default)/gdb/doc/refcard.ps
441 $(if $(filter yes, $(nodoc_profile)),, \
442 $(builddir_default)/gdb/doc/refcard.dvi \
443 $(builddir_default)/gdb/doc/refcard.ps)
426444 dh_installchangelogs -pgdb-minimal -XChangeLog
427445 endif
428446