Patch0: %{name}-autoconf.patch
Patch1: %{name}-DESTDIR.patch
URL: http://sdcc.sourceforge.net/
-Obsoletes: ucsim
BuildRequires: bison
BuildRequires: flex
BuildRequires: libstdc++-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Obsoletes: ucsim
%description
SDCC is retargettable, optimizing ANSI - C compiler. The current
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_libdir}/emacs/site-lisp/
-%{__make} install "DESTDIR=$RPM_BUILD_ROOT" "docdir=%{_docdir}/%{name}-%{version}" "STRIP=/bin/true"
+
+%{__make} install \
+ "DESTDIR=$RPM_BUILD_ROOT" \
+ "docdir=%{_docdir}/%{name}-%{version}" \
+ "STRIP=/bin/true"
# some cleanups in mess generated by make install
find $RPM_BUILD_ROOT -name "CVS" -type d | xargs rm -r