Changeset 1961
- Timestamp:
- 02/21/17 21:01:14 (7 years ago)
- Location:
- trunk/LATMOS-Accounts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts/Makefile.PL
r1865 r1961 95 95 DATADIR => '/usr/share/latmos-accounts', 96 96 DESTDATADIR => '$(DESTDIR)$(DATADIR)', 97 MAN5PODS => join(' ', <man/man5/*.pod>), 98 MAN8PODS => join(' ', <man/man8/*.pod>), 97 99 }, 98 100 MAN1PODS => { … … 107 109 } <man/man?/*.pod>, (grep { ! /~$/ } <bin/*>) 108 110 }, 109 110 111 ); 111 112 … … 174 175 \t latmos-accounts.spec 175 176 176 podhtml: \$(MAN 1PODS) \$(MAN3PODS)177 podhtml: \$(MAN5PODS) \$(MAN8PODS) \$(MAN3PODS) \$(MAN1PODS) 177 178 \tmkdir html || : 178 \trm -f html/* 179 \tperl scripts/pod2xhtml.pl \$(MAN1PODS) \$(MAN3PODS) 179 \trm -fr html/* 180 \tperl scripts/pod2xhtml.pl man1 \$(MAN1PODS) 181 \tperl scripts/pod2xhtml.pl man3 \$(MAN3PODS) 182 \tperl scripts/pod2xhtml.pl man5 \$(MAN5PODS) 183 \tperl scripts/pod2xhtml.pl man8 \$(MAN8PODS) 180 184 181 185 EOF -
trunk/LATMOS-Accounts/scripts/pod2xhtml.pl
r1009 r1961 6 6 use Pod::Hyperlink::BounceURL; 7 7 use Pod::Checker; 8 9 8 10 9 my $linkparser = new Pod::Hyperlink::BounceURL; … … 16 15 ); 17 16 18 my @files = glob('man/*.pod'); 17 my $dest = shift(@ARGV); 18 19 if (! -d "html/$dest") { 20 mkdir "html/$dest" || die "Cannot create html/$dest: $!"; 21 } 19 22 20 23 foreach my $f (@ARGV) { … … 30 33 $parser->parse_from_file( 31 34 $f, 32 "html/$ file",35 "html/$dest/$file", 33 36 ); 34 37 }
Note: See TracChangeset
for help on using the changeset viewer.