Changeset 117
- Timestamp:
- 07/19/07 16:33:34 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debbuild
r116 r117 992 992 foreach my $pkgfile (@pkgfilelist) { 993 993 $pkgfile = expandmacros($pkgfile, 'gp'); 994 995 # Feh. Manpages don't **NEED** to be gzipped, but rpmbuild does, and so shall we. 996 if ($pkgfile =~ m|/usr/share/man/man|) { 997 # need to check to see if manpage is gzipped 998 if (-e "$buildroot$pkgfile") { 999 if ($pkgfile !~ m|\.gz$|) { 1000 qx { gzip $buildroot$pkgfile }; 1001 $pkgfile .= ".gz"; 1002 } 1003 } else { 1004 if ($pkgfile !~ m|\.gz$|) { 1005 $pkgfile .= ".gz"; 1006 } else { 1007 $pkgfile =~ s/\.gz$//; 1008 qx { gzip $buildroot$pkgfile }; 1009 $pkgfile .= ".gz"; 1010 } 1011 } 1012 } 1013 994 1014 my ($fpath,$fname) = ($pkgfile =~ m|(.+?/?)?([^/]+)$|); # We don't need $fname now, but we might. 995 1015 qx { mkdir -p $buildroot/$pkg$fpath }
Note:
See TracChangeset
for help on using the changeset viewer.