diff --git a/src/Makefile.am b/src/Makefile.am index 15bf572..76b01f9 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -9,8 +9,8 @@ noinst_HEADERS = $(srcdir)/*.h bin_PROGRAMS = xmlcopyeditor bindir = ${prefix}/bin xmlcopyeditordir = ${prefix}/share/xmlcopyeditor -pixmapdir = /usr/share/pixmaps -applicationsdir = /usr/share/applications +pixmapdir = ${prefix}/share/pixmaps +applicationsdir = ${prefix}/share/applications # the application source, library search path, and link libraries xmlcopyeditor_SOURCES = aboutdialog.cpp \ diff --git a/src/Makefile.in b/src/Makefile.in index d517b67..b564074 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -431,7 +431,7 @@ top_srcdir = @top_srcdir@ # these are the headers for your project noinst_HEADERS = $(srcdir)/*.h xmlcopyeditordir = ${prefix}/share/xmlcopyeditor -pixmapdir = /usr/share/pixmaps +pixmapdir = ${prefix}/share/pixmaps applicationsdir = /usr/share/applications # the application source, library search path, and link libraries diff --git a/src/xmlcopyeditor.spec b/src/xmlcopyeditor.spec index 528ae8b..5facbe0 100644 --- a/src/xmlcopyeditor.spec +++ b/src/xmlcopyeditor.spec @@ -36,5 +36,5 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root) %{prefix}/bin/xmlcopyeditor %{prefix}/share/xmlcopyeditor/* -/usr/share/applications/xmlcopyeditor.desktop -/usr/share/pixmaps/xmlcopyeditor.png +%{prefix}/applications/xmlcopyeditor.desktop +%{prefix}/pixmaps/xmlcopyeditor.png