~ubuntu-branches/ubuntu/lucid/bash/lucid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-08-24 12:06:59 UTC
  • mfrom: (1.3.2 upstream) (2.1.5 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090824120659-gmp1uuy2w9k2st53
Tags: 4.0-4ubuntu1
* Merge with Debian; remaining changes:
  - Build from the upstream sources, build the documentation in info format.
  - /etc/skel/.bashrc: eval lesspipe.
* Changes to the skeleton .bashrc:
  - Source .bash_aliases after defining aliases. LP: #400686.
  - Enable color support for grep. LP: #386502.
* The bash docs now  describe uname -s not having any effect on many
  systems. LP: #378595.
* Don't ship an info dir file. LP: #358932.
* Fix some lintian warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
DEB_HOST_GNU_SYSTEM     := $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM)
14
14
DEB_HOST_GNU_TYPE       := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
15
15
 
16
 
VERSION         := 3.2
 
16
VERSION         := 4.0
17
17
#PKGVERSION     := $(shell dpkg-parsechangelog \
18
18
#                       | sed -n '/Version:/s/\(.* \)\(.*\)-2\(.*\)/\2\3/p')
19
19
#PKGVERSION     := 3.0
52
52
 
53
53
conf_args = \
54
54
        --with-curses \
55
 
        --disable-net-redirections \
56
55
        --enable-largefile \
57
56
        --prefix=/usr \
58
57
        --infodir=/usr/share/info \
372
371
        dh_link -p$(p_doc) \
373
372
            /usr/share/doc/$(p)/bashref.pdf /usr/share/doc/$(p_doc)/bashref.pdf
374
373
endif
 
374
        rm -f $(d_doc)/usr/share/info/dir*
 
375
 
375
376
        dh_installchangelogs -p$(p_doc) bash/CWRU/changelog
376
377
        dh_compress -p$(p_doc) -Xexamples -X.pdf
377
378
        dh_fixperms -p$(p_doc)
536
537
 
537
538
patchdir        = debian/patches
538
539
debian_patches = \
539
 
        bash32-001 \
540
 
        bash32-002 \
541
 
        bash32-003 \
542
 
        bash32-004 \
543
 
        bash32-005 \
544
 
        bash32-006 \
545
 
        bash32-007 \
546
 
        bash32-008 \
547
 
        bash32-009 \
548
 
        bash32-010 \
549
 
        bash32-011 \
550
 
        bash32-012 \
551
 
        bash32-013 \
552
 
        bash32-014 \
553
 
        bash32-015 \
554
 
        bash32-016 \
555
 
        bash32-017 \
556
 
        bash32-018 \
557
 
        bash32-019 \
558
 
        bash32-020 \
559
 
        bash32-021 \
560
 
        bash32-022 \
561
 
        bash32-023 \
562
 
        bash32-024 \
563
 
        bash32-025 \
564
 
        bash32-026 \
565
 
        bash32-027 \
566
 
        bash32-028 \
567
 
        bash32-029 \
568
 
        bash32-030 \
569
 
        bash32-031 \
570
 
        bash32-032 \
571
 
        bash32-033 \
572
 
        bash32-034 \
573
 
        bash32-035 \
574
 
        bash32-036 \
575
 
        bash32-037 \
576
 
        bash32-038 \
577
 
        bash32-039 \
578
 
        bash32-040 \
579
 
        bash32-041 \
580
 
        bash32-042 \
581
 
        bash32-043 \
582
 
        bash32-044 \
583
 
        bash32-045 \
584
 
        bash32-046 \
585
 
        bash32-047 \
586
 
        bash32-048 \
 
540
        bash40-001 \
 
541
        bash40-002 \
 
542
        bash40-003 \
 
543
        bash40-004 \
 
544
        bash40-005 \
 
545
        bash40-006 \
 
546
        bash40-007 \
 
547
        bash40-008 \
 
548
        bash40-009 \
 
549
        bash40-010 \
 
550
        bash40-011 \
 
551
        bash40-012 \
 
552
        bash40-013 \
 
553
        bash40-014 \
 
554
        bash40-015 \
 
555
        bash40-016 \
 
556
        bash40-017 \
 
557
        bash40-018 \
 
558
        bash40-019 \
 
559
        bash40-020 \
 
560
        bash40-021 \
 
561
        bash40-022 \
 
562
        bash40-023 \
 
563
        bash40-024 \
 
564
        bash40-025 \
 
565
        bash40-026 \
 
566
        bash40-027 \
 
567
        bash40-028 \
587
568
        bashbug-editor \
588
569
        deb-bash-config \
589
570
        deb-examples \
595
576
        man-nocaseglob \
596
577
        man-test \
597
578
        man-test2 \
598
 
        man-net-redirections \
599
579
        privmode \
600
580
        rbash-manpage \
601
 
        command-not-found \
602
581
        bash-default-editor \
603
 
        po-sv \
604
582
        bash-subst-param-length \
605
583
        pgrp-pipe \
606
584
        input-err \
607
585
        exec-redirections-man \
608
586
        bash-aliases-repeat \
609
 
        builtins-caller \
610
 
        man-bold-comma \
 
587
        CVE-2008-5374 \
 
588
        man-histtimeformat \
611
589
 
612
590
ifeq ($(with_gfdl),yes)
613
591
  debian_patches += \
614
 
        command-not-found-doc \
615
592
        man-substring-exp-doc \
616
593
        man-test2-doc \
617
 
        man-net-redirections-doc \
618
 
        bash32-039-doc \
619
594
        exec-redirections-texi \
 
595
        bash40-028-doc \
620
596
 
621
597
endif
622
598
 
660
636
        if [ -f $@ ]; then \
661
637
          echo "$* patches already applied."; exit 1; \
662
638
        fi
663
 
        sh $< -patch -d $(bash_src)
 
639
        sh -e $< -patch -d $(bash_src)
664
640
        echo "$* patches applied." > $@
665
641
 
666
642
unpack-$(bash_src): stamps/stamp-unpack-$(bash_src)
670
646
        rm -f stamps/stamp-patch-$(bash_src){,-*}
671
647
        tar xfz bash-$(VERSION)*.tar.gz
672
648
        mv bash-$(VERSION) $(bash_src)
673
 
        uudecode -o - debian/bash.pot.uu | zcat > $(bash_src)/po/bash.pot
 
649
        rm -f bash/y.tab.?
674
650
        cp -p /usr/share/misc/config.* $(bash_src)/.
675
651
        cp -p /usr/share/misc/config.* $(bash_src)/support/.
676
652
        touch stamps/stamp-unpack-$(bash_src)