Changeset 84 for trunk


Ignore:
Timestamp:
03/22/07 16:03:21 (18 years ago)
Author:
kdeugau
Message:

/trunk

Fix %files glitch with macro expansion by pedanticising several macros
and adding %{_datadir} expansion to the general macros section

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debbuild

    r83 r84  
    629629          $filelist{$pkgname} .= " $_";
    630630        }
    631         $filelist{$pkgname} = expandmacros($filelist{$pkgname}, 'gp');
    632631      } # done %file section
    633632
     
    12291228    $macrostring =~ s|%{_infodir}|%{_datadir}/info|g;                   #/usr/share/info
    12301229    $macrostring =~ s|%{_oldincludedir}|/usr/include|g;         #/usr/include
    1231     $macrostring =~ s|%{_includedir}|%{_prefix\}/include|g;     #/usr/include
     1230    $macrostring =~ s|%{_includedir}|%{_prefix}/include|g;      #/usr/include
    12321231    $macrostring =~ s|%{_libdir}|%{_exec_prefix}/%{_lib}|g;     #/usr/lib
    12331232    $macrostring =~ s|%{_lib}|lib|g;                                    #?
     
    12731272    $macrostring =~ s|%{_topdir}|$topdir|g;
    12741273    $macrostring =~ s|%{_tmppath}|$tmpdir|g;
    1275     $macrostring =~ s'%{_docdir}'/usr/share/doc'g;
     1274    $macrostring =~ s'%{_docdir}'%{_datadir}/doc'g;
    12761275
    12771276    # Standard FHS locations.  More or less.
    12781277    $macrostring =~ s'%{_bindir}'/usr/bin'g;
    12791278    $macrostring =~ s'%{_sbindir}'/usr/sbin'g;
    1280     $macrostring =~ s'%{_mandir}'/usr/share/man'g;
     1279    $macrostring =~ s'%{_mandir}'%{_datadir}/man'g;
    12811280    $macrostring =~ s'%{_includedir}'/usr/include'g;
    12821281    $macrostring =~ s'%{_libdir}'/usr/lib'g;
    12831282    $macrostring =~ s'%{_sysconfdir}'/etc'g;
    12841283    $macrostring =~ s'%{_localstatedir}'/var'g;
     1284
     1285    # FHS-ish locations that aren't quite actually FHS-specified.
     1286    $macrostring =~ s'%{_datadir}'/usr/share'g;
    12851287
    12861288    # %define's
Note: See TracChangeset for help on using the changeset viewer.