Changeset 4279a35 in rtems for scripts/binutils/binutils.add


Ignore:
Timestamp:
Apr 20, 2005, 8:59:45 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
ac9bbe7
Parents:
d8fa12c
Message:

2005-04-20 Ralf Corsepius <ralf.corsepius@…>

  • binutils/base-binutils.add, binutils/binutils.add, binutils/target-binutils.add: Introduce %{_includedir}, %{_libdir}, %{_bindir}. Remove superfluous %doc. Misc. fixes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/binutils/binutils.add

    rd8fa12c r4279a35  
    5252    --target=%{binutils_target} \
    5353    --verbose --disable-nls \
    54     --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir}
     54    --prefix=%{_prefix} --bindir=%{_bindir} \
     55    --includedir=%{_includedir} --libdir=%{_libdir} \
     56    --mandir=%{_mandir} --infodir=%{_infodir} \
    5557
    5658  make all
     
    6365  cd build
    6466  make prefix=$RPM_BUILD_ROOT%{_prefix} \
     67    bindir=$RPM_BUILD_ROOT%{_bindir} \
     68    includedir=$RPM_BUILD_ROOT%{_includedir} \
     69    libdir=$RPM_BUILD_ROOT%{_libdir} \
     70    infodir=$RPM_BUILD_ROOT%{_infodir} \
    6571    mandir=$RPM_BUILD_ROOT%{_mandir} \
    66     infodir=$RPM_BUILD_ROOT%{_infodir} \
    6772    install
    6873  make prefix=$RPM_BUILD_ROOT%{_prefix} \
     74    bindir=$RPM_BUILD_ROOT%{_bindir} \
     75    includedir=$RPM_BUILD_ROOT%{_includedir} \
     76    libdir=$RPM_BUILD_ROOT%{_libdir} \
     77    infodir=$RPM_BUILD_ROOT%{_infodir} \
    6978    mandir=$RPM_BUILD_ROOT%{_mandir} \
    70     infodir=$RPM_BUILD_ROOT%{_infodir} \
    7179    install-info
     80
    7281# A bug in binutils: binutils does not install share/locale
    7382# however it uses it
    74   ../binutils-%{binutils_version}/mkinstalldirs \
    75     $RPM_BUILD_ROOT%{_prefix}/share/locale
     83  mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/locale
     84
     85%if "%{binutils_version}" < "2.9.5"
     86  rm -rf $RPM_BUILD_ROOT%{_infodir}/configure.info*
     87%endif
    7688
    7789# gzip info files
    78   # gzip info files
    7990  ls $RPM_BUILD_ROOT%{_infodir}/*.info \
    8091    $RPM_BUILD_ROOT%{_infodir}/*.info-? \
     
    8697# We assume that info/dir exists when building the RPMs
    8798  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
    88   f=`find $RPM_BUILD_ROOT%{_prefix}/info -name '*.info.gz'`
     99  f=`find $RPM_BUILD_ROOT%{_infodir} -name '*.info.gz'`
    89100  test x"$f" != x"" && for i in $f; do
    90101    /sbin/install-info $i $RPM_BUILD_ROOT%{_infodir}/dir
     
    95106
    96107# We don't ship host files
    97   rm -f ${RPM_BUILD_ROOT}%{_prefix}/lib/libiberty*
     108  rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
Note: See TracChangeset for help on using the changeset viewer.