Changeset 6780
- Timestamp:
- 09/06/05 04:11:31 (3 years ago)
- Files:
-
- 3 modified
-
AUTHORS (modified) (1 diff)
-
Makefile.PL (modified) (4 diffs)
-
debian/rules (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
AUTHORS
r6732 r6780 78 78 Kevin "puetzk" Puetz 79 79 Kiran "mkirank" Kumar M. 80 Konovalov Vadim (VKON)80 Konovalov Vadim (VKON) 81 81 Kuang-Che "kcwu" Wu 吳光哲 82 82 Larry Wall (LWALL) -
Makefile.PL
r6690 r6780 166 166 $flags =~ s{([\\"'])}{\\$1}g; 167 167 $ccdlflags .= (/^-D/ ? ' -optc' : ' -optl') . qq["$_" ] 168 for split /\s+/, $flags;168 for split /\s+/, $flags; 169 169 } 170 170 } 171 171 elsif( $ENV{PUGS_EMBED} and $Config{cc} eq 'cl' and $^O =~ /Win32/ ) { 172 172 $ENV{PUGS_EMBED} =~ s/\bperl5\b//g; 173 warn << '.'173 warn << '.' 174 174 *** Perl 5 embedding disabled on Win32 systems. 175 175 . … … 206 206 207 207 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}; 212 212 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; 225 225 *** Could not find libperl.so in: $Config{libpth} $Config{libsdirs} 226 226 Solutions include: … … 228 228 $message 229 229 EOD 230 }230 } 231 231 } 232 232 … … 280 280 . 281 281 282 $threaded = '';282 $threaded = ''; 283 283 } 284 284 -
debian/rules
r6722 r6780 2 2 3 3 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) 4 CFLAGS = unoptimized4 CFLAGS = unoptimized 5 5 else 6 CFLAGS = optimized6 CFLAGS = optimized 7 7 endif 8 8 … … 11 11 configure: configure-stamp 12 12 configure-stamp: 13 dh_testdir14 perl Makefile.PL INSTALLDIRS=vendor15 touch configure-stamp13 dh_testdir 14 perl Makefile.PL INSTALLDIRS=vendor 15 touch configure-stamp 16 16 17 17 build: build-arch build-indep … … 19 19 build-arch: build-arch-stamp 20 20 build-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 fi28 pod2man --section=1 --release="Debian Project" --center="Debian GNU/Linux manual" $(CURDIR)/script/pugscc $(CURDIR)/debian/pugscc.129 touch build-arch-stamp21 $(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 30 30 31 31 build-indep: build-indep-stamp 32 32 build-indep-stamp: configure-stamp 33 touch build-indep-stamp33 touch build-indep-stamp 34 34 35 35 clean: 36 dh_testdir37 dh_testroot38 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*.html39 -$(MAKE) realclean40 dh_clean36 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 41 41 42 42 install: install-indep install-arch 43 43 install-indep: 44 dh_testdir45 dh_testroot46 dh_installdirs47 dh_install -i --sourcedir=$(CURDIR)/debian/tmp --list-missing48 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-modules50 rm -f $(CURDIR)/debian/pugs-doc/usr/share/doc/pugs-doc/SEEALSO44 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 51 51 52 52 install-arch: 53 dh_testdir54 dh_testroot55 dh_installdirs -s56 $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp57 cp util/perl6.vim $(CURDIR)/debian/pugs/usr/share/vim/vim63/syntax/58 dh_install -s --sourcedir=$(CURDIR)/debian/tmp --list-missing59 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/COPYING53 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 64 64 65 65 # Build architecture independant packages using the common target. 66 66 binary-indep: build-indep install-indep 67 dh_testdir -i68 dh_testroot -i69 dh_installchangelogs -i ChangeLog70 dh_installdocs -i71 dh_installexamples -i examples/*72 rm -f $(CURDIR)/debian/pugs-doc/usr/share/doc/pugs-doc/examples/hop6/LICENSE.txt73 find $(CURDIR)/debian/pugs-doc/ -type f -size 0 -exec rm -f {} \;74 dh_installman -i75 dh_link -i76 dh_compress -i77 dh_fixperms -i78 dh_strip -i79 dh_makeshlibs -i80 dh_installdeb -i81 dh_shlibdeps -i82 dh_gencontrol -i83 dh_md5sums -i84 dh_builddeb -i67 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 85 85 86 86 # Build architecture dependant packages using the common target. 87 87 binary-arch: build-arch install-arch 88 dh_testdir -a89 dh_testroot -a90 dh_installchangelogs -a ChangeLog91 dh_installdocs -a92 dh_installman -a debian/pugscc.193 dh_link -a94 dh_compress -a95 dh_fixperms -a96 dh_strip -a97 dh_makeshlibs -a98 dh_installdeb -a99 dh_shlibdeps -a100 dh_gencontrol -a101 dh_md5sums -a102 dh_builddeb -a88 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 103 103 104 104 binary: binary-arch binary-indep
