summaryrefslogtreecommitdiff
path: root/syslinux.spec.in
diff options
context:
space:
mode:
authorhpa <hpa>2003-04-16 20:10:05 +0000
committerhpa <hpa>2003-04-16 20:10:05 +0000
commitc45d7a5d707df0a8f97035cb8d19140851c3cc6e (patch)
tree622fb3662a4ea310c80ee0903b1f9ba9fb34b5b5 /syslinux.spec.in
parent5c97b3ddf11db65f3e6d1de0aed739cc755897e3 (diff)
downloadsyslinux-c45d7a5d707df0a8f97035cb8d19140851c3cc6e.tar.gz
Modernize macro use
Diffstat (limited to 'syslinux.spec.in')
-rw-r--r--syslinux.spec.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/syslinux.spec.in b/syslinux.spec.in
index 38aa5e44..55191df8 100644
--- a/syslinux.spec.in
+++ b/syslinux.spec.in
@@ -36,12 +36,12 @@ make installer
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_bindir}
-mkdir -p %{buildroot}%{_prefix}/lib/syslinux
-mkdir -p %{buildroot}%{_prefix}/include
+mkdir -p %{buildroot}%{_libdir}/syslinux
+mkdir -p %{buildroot}%{_includedir}
make install install-lib \
INSTALLROOT=%{buildroot} BINDIR=%{_bindir} \
- LIBDIR=%{_prefix}/lib INCDIR=%{_prefix}/include
-cp mkdiskimage sys2ansi.pl keytab-lilo.pl %{buildroot}%{_prefix}/lib/syslinux
+ LIBDIR=%{_libdir} INCDIR=%{_includedir}
+cp mkdiskimage sys2ansi.pl keytab-lilo.pl %{buildroot}%{_libdir}/syslinux
%clean
rm -rf %{buildroot}
@@ -54,9 +54,9 @@ rm -rf %{buildroot}
%{_bindir}/ppmtolss16
%{_bindir}/lss16toppm
%{_bindir}/gethostip
-%{_prefix}/lib/syslinux
-%{_prefix}/lib/libsyslinux.*
-%{_prefix}/include/syslinux.h
+%{_libdir}/syslinux
+%{_libdir}/libsyslinux.*
+%{_includedir}/syslinux.h
%post
/sbin/ldconfig