Changeset 6780

Show
Ignore:
Timestamp:
09/06/05 04:11:31 (3 years ago)
Author:
Darren_Duncan
Message:

detabbed 3 root dir files: debian/rules, AUTHORS, Makefile.PL; but, Makefile.PL retains its literal tabs in its output to the generated Makefile

Files:
3 modified

Legend:

Unmodified
Added
Removed
  • AUTHORS

    r6732 r6780  
    7878Kevin "puetzk" Puetz 
    7979Kiran "mkirank" Kumar M. 
    80 Konovalov Vadim                  (VKON) 
     80Konovalov Vadim                  (VKON) 
    8181Kuang-Che "kcwu" Wu                          吳光哲 
    8282Larry Wall                       (LWALL)      
  • Makefile.PL

    r6690 r6780  
    166166            $flags =~ s{([\\"'])}{\\$1}g; 
    167167            $ccdlflags .= (/^-D/ ? ' -optc' : ' -optl') . qq["$_" ] 
    168               for split /\s+/, $flags; 
     168              for split /\s+/, $flags; 
    169169        } 
    170170    } 
    171171    elsif( $ENV{PUGS_EMBED} and $Config{cc} eq 'cl' and $^O =~ /Win32/ )   { 
    172172            $ENV{PUGS_EMBED} =~ s/\bperl5\b//g; 
    173             warn << '.' 
     173            warn << '.' 
    174174*** Perl 5 embedding disabled on Win32 systems. 
    175175. 
     
    206206 
    207207    if ($Config{cf_by} eq 'Debian Project' and $ENV{PUGS_EMBED} and $ENV{PUGS_EMBED} =~ /\bperl5\b/i) { 
    208         # Is it safe to remove 'Debian Project' above, to test on all platforms? 
    209         my $need_path = 1; 
    210         my $libperlpath = ''; 
    211         my $libperl = $Config{libperl}; 
     208        # Is it safe to remove 'Debian Project' above, to test on all platforms? 
     209        my $need_path = 1; 
     210        my $libperlpath = ''; 
     211        my $libperl = $Config{libperl}; 
    212212        foreach my $path (split(/\s/, $Config{libpth} . ' ' . $Config{libsdirs})) { 
    213             if (-e "$path/libperl.so") { 
    214                 $need_path = 0; 
    215                 last; 
    216             } elsif (-e "$path/$libperl") { 
    217                 $libperlpath ||= $path; 
    218             } 
    219         } 
    220         if ($need_path) { 
    221             my $message = ''; 
    222             $message .= qq[        * Symlink $libperlpath/$libperl to libperl.so\n] if ($libperlpath and $libperl); 
    223             $message .= qq[        * Install libperl-dev package\n] if ($Config{cf_by} eq 'Debian Project'); 
    224             die <<EOD; 
     213            if (-e "$path/libperl.so") { 
     214                $need_path = 0; 
     215                last; 
     216            } elsif (-e "$path/$libperl") { 
     217                $libperlpath ||= $path; 
     218            } 
     219        } 
     220        if ($need_path) { 
     221            my $message = ''; 
     222            $message .= qq[        * Symlink $libperlpath/$libperl to libperl.so\n] if ($libperlpath and $libperl); 
     223            $message .= qq[        * Install libperl-dev package\n] if ($Config{cf_by} eq 'Debian Project'); 
     224            die <<EOD; 
    225225*** Could not find libperl.so in: $Config{libpth} $Config{libsdirs} 
    226226    Solutions include: 
     
    228228$message 
    229229EOD 
    230         } 
     230        } 
    231231    } 
    232232 
     
    280280. 
    281281 
    282         $threaded = ''; 
     282        $threaded = ''; 
    283283    } 
    284284 
  • debian/rules

    r6722 r6780  
    22 
    33ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) 
    4         CFLAGS = unoptimized 
     4    CFLAGS = unoptimized 
    55else 
    6         CFLAGS = optimized 
     6    CFLAGS = optimized 
    77endif 
    88 
     
    1111configure: configure-stamp 
    1212configure-stamp: 
    13         dh_testdir 
    14         perl Makefile.PL INSTALLDIRS=vendor 
    15         touch configure-stamp 
     13    dh_testdir 
     14    perl Makefile.PL INSTALLDIRS=vendor 
     15    touch configure-stamp 
    1616 
    1717build: build-arch build-indep 
     
    1919build-arch: build-arch-stamp 
    2020build-arch-stamp: configure-stamp  
    21         $(MAKE) $(CFLAGS) 
    22         -test $$SKIP_TESTS || $(MAKE) $(TESTS) 
    23         -if [ ! $$DONT_SEND_SMOKE ]; then \ 
    24                 for html in $(CURDIR)/smoke*.html; do \ 
    25                         ./util/smokeserv/smokeserv-client.pl $$html; \ 
    26                 done; \ 
    27         fi 
    28         pod2man --section=1 --release="Debian Project" --center="Debian GNU/Linux manual" $(CURDIR)/script/pugscc $(CURDIR)/debian/pugscc.1 
    29         touch build-arch-stamp 
     21    $(MAKE) $(CFLAGS) 
     22    -test $$SKIP_TESTS || $(MAKE) $(TESTS) 
     23    -if [ ! $$DONT_SEND_SMOKE ]; then \ 
     24        for html in $(CURDIR)/smoke*.html; do \ 
     25            ./util/smokeserv/smokeserv-client.pl $$html; \ 
     26        done; \ 
     27    fi 
     28    pod2man --section=1 --release="Debian Project" --center="Debian GNU/Linux manual" $(CURDIR)/script/pugscc $(CURDIR)/debian/pugscc.1 
     29    touch build-arch-stamp 
    3030 
    3131build-indep: build-indep-stamp 
    3232build-indep-stamp: configure-stamp  
    33         touch build-indep-stamp 
     33    touch build-indep-stamp 
    3434 
    3535clean: 
    36         dh_testdir 
    37         dh_testroot 
    38         rm -f build-arch-stamp build-indep-stamp configure-stamp debian/pugs.1 debian/pugscc.1 src/Pugs/CodeGen/PIR/Prelude.hi src/Pugs/CodeGen/PIR/Prelude.o ext/Test-Builder/destroy_test.p6 smoke*.html 
    39         -$(MAKE) realclean 
    40         dh_clean 
     36    dh_testdir 
     37    dh_testroot 
     38    rm -f build-arch-stamp build-indep-stamp configure-stamp debian/pugs.1 debian/pugscc.1 src/Pugs/CodeGen/PIR/Prelude.hi src/Pugs/CodeGen/PIR/Prelude.o ext/Test-Builder/destroy_test.p6 smoke*.html 
     39    -$(MAKE) realclean 
     40    dh_clean 
    4141 
    4242install: install-indep install-arch 
    4343install-indep: 
    44         dh_testdir 
    45         dh_testroot 
    46         dh_installdirs 
    47         dh_install -i --sourcedir=$(CURDIR)/debian/tmp --list-missing 
    48         cp -r $(CURDIR)/docs/* $(CURDIR)/debian/pugs-doc/usr/share/doc/pugs-doc/ 
    49         cp $(CURDIR)/debian/pugs-modules.lintian-overrides $(CURDIR)/debian/pugs-modules/usr/share/lintian/overrides/pugs-modules 
    50         rm -f $(CURDIR)/debian/pugs-doc/usr/share/doc/pugs-doc/SEEALSO 
     44    dh_testdir 
     45    dh_testroot 
     46    dh_installdirs 
     47    dh_install -i --sourcedir=$(CURDIR)/debian/tmp --list-missing 
     48    cp -r $(CURDIR)/docs/* $(CURDIR)/debian/pugs-doc/usr/share/doc/pugs-doc/ 
     49    cp $(CURDIR)/debian/pugs-modules.lintian-overrides $(CURDIR)/debian/pugs-modules/usr/share/lintian/overrides/pugs-modules 
     50    rm -f $(CURDIR)/debian/pugs-doc/usr/share/doc/pugs-doc/SEEALSO 
    5151 
    5252install-arch: 
    53         dh_testdir 
    54         dh_testroot 
    55         dh_installdirs -s 
    56         $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp 
    57         cp util/perl6.vim $(CURDIR)/debian/pugs/usr/share/vim/vim63/syntax/ 
    58         dh_install -s --sourcedir=$(CURDIR)/debian/tmp --list-missing 
    59         rm -f $(CURDIR)/debian/pugs/usr/lib/perl6/5.8/CORE/pugs/gen_prelude \ 
    60         $(CURDIR)/debian/pugs/usr/lib/perl6/5.8/CORE/pugs/Pugs/Rule/LICENSE \ 
    61         $(CURDIR)/debian/pugs/usr/lib/perl6/5.8/CORE/pugs/RRegex/LICENSE \ 
    62         $(CURDIR)/debian/pugs/usr/lib/perl6/5.8/CORE/pugs/pcre/LICENCE \ 
    63         $(CURDIR)/debian/pugs/usr/lib/perl6/5.8/CORE/pugs/syck/COPYING 
     53    dh_testdir 
     54    dh_testroot 
     55    dh_installdirs -s 
     56    $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp 
     57    cp util/perl6.vim $(CURDIR)/debian/pugs/usr/share/vim/vim63/syntax/ 
     58    dh_install -s --sourcedir=$(CURDIR)/debian/tmp --list-missing 
     59    rm -f $(CURDIR)/debian/pugs/usr/lib/perl6/5.8/CORE/pugs/gen_prelude \ 
     60    $(CURDIR)/debian/pugs/usr/lib/perl6/5.8/CORE/pugs/Pugs/Rule/LICENSE \ 
     61    $(CURDIR)/debian/pugs/usr/lib/perl6/5.8/CORE/pugs/RRegex/LICENSE \ 
     62    $(CURDIR)/debian/pugs/usr/lib/perl6/5.8/CORE/pugs/pcre/LICENCE \ 
     63    $(CURDIR)/debian/pugs/usr/lib/perl6/5.8/CORE/pugs/syck/COPYING 
    6464 
    6565# Build architecture independant packages using the common target. 
    6666binary-indep: build-indep install-indep 
    67         dh_testdir -i 
    68         dh_testroot -i 
    69         dh_installchangelogs -i ChangeLog 
    70         dh_installdocs -i 
    71         dh_installexamples -i examples/* 
    72         rm -f $(CURDIR)/debian/pugs-doc/usr/share/doc/pugs-doc/examples/hop6/LICENSE.txt 
    73         find $(CURDIR)/debian/pugs-doc/ -type f -size 0 -exec rm -f {} \; 
    74         dh_installman -i 
    75         dh_link -i 
    76         dh_compress  -i 
    77         dh_fixperms -i 
    78         dh_strip -i 
    79         dh_makeshlibs -i 
    80         dh_installdeb -i 
    81         dh_shlibdeps -i 
    82         dh_gencontrol -i 
    83         dh_md5sums -i 
    84         dh_builddeb -i 
     67    dh_testdir -i 
     68    dh_testroot -i 
     69    dh_installchangelogs -i ChangeLog 
     70    dh_installdocs -i 
     71    dh_installexamples -i examples/* 
     72    rm -f $(CURDIR)/debian/pugs-doc/usr/share/doc/pugs-doc/examples/hop6/LICENSE.txt 
     73    find $(CURDIR)/debian/pugs-doc/ -type f -size 0 -exec rm -f {} \; 
     74    dh_installman -i 
     75    dh_link -i 
     76    dh_compress  -i 
     77    dh_fixperms -i 
     78    dh_strip -i 
     79    dh_makeshlibs -i 
     80    dh_installdeb -i 
     81    dh_shlibdeps -i 
     82    dh_gencontrol -i 
     83    dh_md5sums -i 
     84    dh_builddeb -i 
    8585 
    8686# Build architecture dependant packages using the common target. 
    8787binary-arch: build-arch install-arch 
    88         dh_testdir -a 
    89         dh_testroot -a 
    90         dh_installchangelogs -a ChangeLog 
    91         dh_installdocs -a 
    92         dh_installman -a debian/pugscc.1 
    93         dh_link -a 
    94         dh_compress  -a 
    95         dh_fixperms -a 
    96         dh_strip -a 
    97         dh_makeshlibs -a 
    98         dh_installdeb -a 
    99         dh_shlibdeps -a 
    100         dh_gencontrol -a 
    101         dh_md5sums -a 
    102         dh_builddeb -a 
     88    dh_testdir -a 
     89    dh_testroot -a 
     90    dh_installchangelogs -a ChangeLog 
     91    dh_installdocs -a 
     92    dh_installman -a debian/pugscc.1 
     93    dh_link -a 
     94    dh_compress  -a 
     95    dh_fixperms -a 
     96    dh_strip -a 
     97    dh_makeshlibs -a 
     98    dh_installdeb -a 
     99    dh_shlibdeps -a 
     100    dh_gencontrol -a 
     101    dh_md5sums -a 
     102    dh_builddeb -a 
    103103 
    104104binary: binary-arch binary-indep