1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

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

View file

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

View file

@ -906,7 +906,7 @@ rofi \-dump\-theme
.IP "" 0 .IP "" 0
. .
.SH "EXAMPLES" .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" .SH "SEE ALSO"
rofi(1) rofi(1)