Changeset 1553 for trunk/LATMOS-Accounts/Makefile.PL
- Timestamp:
- 12/28/15 22:57:04 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts/Makefile.PL
r1549 r1553 3 3 # See lib/ExtUtils/MakeMaker.pm for details of how to influence 4 4 # the contents of the Makefile that is written. 5 6 my @po; 7 foreach (glob('po/*.po')) { 8 warn $_; 9 my ($po) = $_ =~ m:([^/\.]+)\.po$:; 10 push (@po, $po); 11 } 12 5 13 WriteMakefile( 6 14 NAME => 'LATMOS::Accounts', … … 99 107 100 108 my $makepo = ''; 101 my @po; 102 103 foreach (glob('po/*.po')) { 104 my ($po) = $_ =~ m:([^/\.]+)\.po$:; 105 push (@po, $po); 106 109 110 foreach my $po (@po) { 107 111 $makepo .= 108 109 112 " 110 113 po/$po.po: po/messages.pot … … 214 217 install_mo: mo 215 218 install -d $(DESTDIR)$(LOCALEDIR) 216 for i in po/*/LC_MESSAGES/linkaccounts.mo; do \\217 install -d po/$$i $(DESTDIR)$(LOCALEDIR)/$$i; \\218 done219 219 ]; 220 221 foreach (@po) { 222 $section .= "\tinstall -d \$(DESTDIR)\$(LOCALEDIR)/$_/LC_MESSAGES"; 223 $section .= "\tinstall po/$_/LC_MESSAGES/linkacccounts.mo \$(DESTDIR)\$(LOCALEDIR)/$_/LC_MESSAGES/linkacccounts.mo"; 224 } 225 $section .= "\n"; 220 226 221 227 return $section;
Note: See TracChangeset
for help on using the changeset viewer.