Only install the wrapper script to PATH
This commit is contained in:
parent
baefed44ce
commit
d0a7f5cb42
@ -31,6 +31,7 @@ MANPAGES_ALIASES =
|
||||
TPHONY =
|
||||
|
||||
bin_PROGRAMS =
|
||||
libexec_PROGRAMS =
|
||||
check_PROGRAMS =
|
||||
noinst_PROGRAMS =
|
||||
lib_LTLIBRARIES =
|
||||
@ -476,8 +477,8 @@ mod_pixman_la_LDFLAGS = \
|
||||
# built as part of kmscon.
|
||||
#
|
||||
|
||||
bin_SCRIPTS += docs/kmscon.sh
|
||||
bin_PROGRAMS += kmscon
|
||||
bin_SCRIPTS += scripts/kmscon
|
||||
libexec_PROGRAMS += kmscon
|
||||
check_PROGRAMS += \
|
||||
test_output \
|
||||
test_vt \
|
||||
|
@ -791,7 +791,7 @@ fi
|
||||
# makefiles.
|
||||
#
|
||||
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
AC_CONFIG_FILES([Makefile scripts/kmscon])
|
||||
AC_OUTPUT
|
||||
|
||||
#
|
||||
|
@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright (c) 2018 Aetf <aetf@unlimitedcodeworks.xyz>
|
||||
# Copyright (c) 2018 Fabian Vogt <fvogt@suse.com>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to deal
|
||||
@ -20,9 +21,14 @@
|
||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
# SOFTWARE.
|
||||
|
||||
# configuration path
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libexecdir=@libexecdir@
|
||||
|
||||
# Get a property from org.freedesktop.locale1
|
||||
queryLocale1() {
|
||||
dbus-send --system --print-reply=literal --dest=org.freedesktop.locale1 /org/freedesktop/locale1 org.freedesktop.DBus.Properties.Get "string:org.freedesktop.locale1" "string:$1" | awk '{print $1}'
|
||||
dbus-send --system --print-reply=literal --dest=org.freedesktop.locale1 /org/freedesktop/locale1 org.freedesktop.DBus.Properties.Get "string:org.freedesktop.locale1" "string:$1" | awk '{print $2}'
|
||||
}
|
||||
|
||||
# Query and setup system locale settings before start kmscon
|
||||
@ -49,4 +55,4 @@ setupLocale() {
|
||||
}
|
||||
|
||||
setupLocale
|
||||
exec kmscon "$@"
|
||||
exec ${libexecdir}/kmscon "$@"
|
Loading…
x
Reference in New Issue
Block a user