autobuilder: Move data to -autobuilder subdirectory for easy packaging
This commit is contained in:
parent
311f1c292b
commit
c08630f5d5
@ -29,7 +29,7 @@ EXTRA_DIST += src/autobuilder/rpm-ostree-autobuilder.in
|
||||
bin_SCRIPTS += rpm-ostree-autobuilder \
|
||||
$(NULL)
|
||||
|
||||
jsautobuilderdir=$(pkgdatadir)/js
|
||||
jsautobuilderdir=$(pkgdatadir)-autobuilder/js
|
||||
jsautobuilder_DATA= \
|
||||
src/autobuilder/js/argparse.js \
|
||||
src/autobuilder/js/asyncutil.js \
|
||||
@ -70,7 +70,7 @@ jsautotasks_DATA= \
|
||||
src/autobuilder/js/tasks/testbase.js \
|
||||
$(NULL)
|
||||
|
||||
testdatadir=$(pkgdatadir)
|
||||
testdatadir=$(pkgdatadir)-autobuilder
|
||||
testdata_DATA = src/autobuilder/rpm-ostree-export-journal-to-serialdev \
|
||||
src/autobuilder/rpm-ostree-export-journal-to-serialdev.service \
|
||||
$(NULL)
|
||||
|
@ -16,13 +16,13 @@
|
||||
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
# Boston, MA 02111-1307, USA.
|
||||
|
||||
jsdir=@pkgdatadir@/js
|
||||
jsdir=@pkgdatadir@-autobuilder/js
|
||||
|
||||
export GI_TYPELIB_PATH="@pkglibdir@/girepository-1.0${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}"
|
||||
export LD_LIBRARY_PATH="@pkglibdir@/${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
|
||||
# Don't auto-spawn a session bus
|
||||
export GIO_USE_VFS=local
|
||||
export OSTBUILD_DATADIR=@pkgdatadir@
|
||||
export OSTBUILD_LIBDIR=@pkglibdir@
|
||||
export OSTBUILD_DATADIR=@pkgdatadir@-autobuilder
|
||||
export OSTBUILD_LIBDIR=@pkglibdir@-autobuilder
|
||||
|
||||
exec $OSTBUILD_GDB gjs -I "${jsdir}" "${jsdir}/main.js" "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user