[build] Install awesomerc.lua to $sysconfdir/awesome
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
5a88d26f0e
commit
19534c0bfc
|
@ -5,6 +5,8 @@ SUFFIXES =
|
|||
bin_PROGRAMS =
|
||||
doc_DATA =
|
||||
man_MANS =
|
||||
etcdir = $(sysconfdir)/awesome
|
||||
etc_DATA =
|
||||
iconsdir = $(pkgdatadir)/icons
|
||||
dist_icons_DATA =
|
||||
iconslayoutsdir = $(iconsdir)/layouts
|
||||
|
@ -54,6 +56,8 @@ EXTRA_DIST += awesomerc.lua.in
|
|||
CLEANFILES += awesomerc.lua
|
||||
BUILT_SOURCES += awesomerc.lua
|
||||
doc_DATA += awesomerc.lua
|
||||
etc_DATA += awesomerc.lua
|
||||
|
||||
awesomerc.lua: $(srcdir)/awesomerc.lua.in
|
||||
$(SED) -e "s|[@]iconslayoutsdir@|$(iconslayoutsdir)|;s|[@]iconsdir@|$(iconsdir)|" \
|
||||
< $(srcdir)/awesomerc.lua.in > awesomerc.lua
|
||||
|
|
|
@ -113,6 +113,8 @@ test "x$LUA" = "x" && AC_MSG_WARN([awesome compilation requires Lua])
|
|||
|
||||
AS_AC_EXPAND(awesomelibdir, "$datarootdir/awesome/lib")
|
||||
AC_DEFINE_UNQUOTED([AWESOME_LUA_LIB_PATH], "${awesomelibdir}", [awesome lib path])
|
||||
AS_AC_EXPAND(awesomesysconfdir, "$sysconfdir/awesome")
|
||||
AC_DEFINE_UNQUOTED([AWESOME_CONF_PATH], "${awesomesysconfdir}", [awesome conf path])
|
||||
|
||||
# Checks for libraries.
|
||||
AC_PATH_XTRA
|
||||
|
|
Loading…
Reference in New Issue