Do not hardcode ${datadir} as ${prefix}/share

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
Quentin Glidic 2017-04-17 18:18:07 +02:00
parent f23d035e52
commit 6250e39e31
No known key found for this signature in database
GPG Key ID: AC203F96E2C34BB7
3 changed files with 7 additions and 7 deletions

View File

@ -124,7 +124,7 @@ rofi_CFLAGS=\
-DSYSCONFDIR=\"$(sysconfdir)\"\
-DTHEME_CONVERTER\
-DPLUGIN_PATH=\"${libdir}/rofi\"\
-DTHEME_DIR=\"${prefix}/share/rofi/themes/\"
-DTHEME_DIR=\"$(themedir)\"
rofi_LDADD=\
$(glib_LIBS)\
@ -233,7 +233,7 @@ history_test_CFLAGS=\
$(AM_CFLAGS)\
$(glib_CFLAGS)\
$(libsn_CFLAGS)\
-DTHEME_DIR=\"${prefix}/share/rofi/themes/\"\
-DTHEME_DIR=\"$(themedir)\"\
-I$(top_srcdir)/include/\
-I$(top_srcdir)/config/\
-I$(top_builddir)/
@ -259,7 +259,7 @@ textbox_test_CFLAGS=\
$(GW_XCB_CFLAGS)\
$(cairo_CFLAGS)\
$(libsn_CFLAGS)\
-DTHEME_DIR=\"${prefix}/share/rofi/themes/\"\
-DTHEME_DIR=\"$(themedir)\"\
-I$(top_srcdir)/include/\
-I$(top_srcdir)/config/\
-I$(top_builddir)/
@ -399,7 +399,7 @@ helper_test_CFLAGS=\
$(GW_XCB_CFLAGS)\
$(cairo_CFLAGS)\
$(libsn_CFLAGS)\
-DTHEME_DIR=\"${prefix}/share/rofi/themes/\"\
-DTHEME_DIR=\"$(themedir)\"\
-I$(top_srcdir)/include/\
-I$(top_srcdir)/config/\
-I$(top_builddir)/

View File

@ -561,8 +561,8 @@ rofi -dump-theme
## EXAMPLES
Several examples are installed together with **rofi**. These can be found in `{prefix}/share/rofi/themes/` where
`{prefix}` is the install path of **rofi**. When installed using a package manager this usually: `/usr/`.
Several examples are installed together with **rofi**. These can be found in `{datadir}/rofi/themes/` where
`{datadir}` is the install path of **rofi** data. When installed using a package manager this is usually: `/usr/share/`.
## SEE ALSO

View File

@ -906,7 +906,7 @@ rofi \-dump\-theme
.IP "" 0
.
.SH "EXAMPLES"
Several examples are installed together with \fBrofi\fR\. These can be found in \fB{prefix}/share/rofi/themes/\fR where \fB{prefix}\fR is the install path of \fBrofi\fR\. When installed using a package manager this usually: \fB/usr/\fR\.
Several examples are installed together with \fBrofi\fR\. These can be found in \fB{datadir}/rofi/themes/\fR where \fB{datadir}\fR is the install path of \fBrofi\fR data\. When installed using a package manager this is usually: \fB/usr/share/\fR\.
.
.SH "SEE ALSO"
rofi(1)