2014-01-03 22:15:12 +04:00
# Copyright (C) 2011,2014 Colin Walters <walters@verbum.org>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
substitutions= \
-e s,@libdir\@,$(libdir), \
-e s,@pkglibdir\@,$(pkglibdir), \
-e s,@datarootdir\@,$(datarootdir), \
-e s,@pkgdatadir\@,$(pkgdatadir), \
$(NULL)
2014-01-04 02:07:19 +04:00
rpm-ostree-autobuilder: src/autobuilder/rpm-ostree-autobuilder.in Makefile
2014-01-03 22:15:12 +04:00
sed $(substitutions) $< > $@.tmp && mv $@.tmp $@
2014-01-04 02:07:19 +04:00
EXTRA_DIST += src/autobuilder/rpm-ostree-autobuilder.in
2014-01-03 22:15:12 +04:00
2014-02-26 18:41:41 +04:00
autobuilder_privlibdir=$(libdir)/$(PACKAGE)-autobuilder
2014-03-13 16:52:51 +04:00
autobuilder_privlib_PROGRAMS = rpm-ostree-autobuilder-builtin-console
2014-02-26 23:54:01 +04:00
rpm_ostree_autobuilder_builtin_console_SOURCES = src/autobuilder/rpm-ostree-autobuilder-builtin-console.c
rpm_ostree_autobuilder_builtin_console_CFLAGS = $(AM_CFLAGS) $(PKGDEP_RPMOSTREE_CFLAGS)
rpm_ostree_autobuilder_builtin_console_LDADD = $(AM_LDFLAGS) $(PKGDEP_RPMOSTREE_LIBS) -lreadline
2014-03-05 17:27:00 +04:00
autobuilder_privlib_SCRIPTS = src/autobuilder/rpmqa-sorted
2014-01-03 22:15:12 +04:00
bin_SCRIPTS += rpm-ostree-autobuilder \
$(NULL)
2014-02-24 02:24:05 +04:00
jsautobuilderdir=$(pkgdatadir)-autobuilder/js
2014-01-03 22:15:12 +04:00
jsautobuilder_DATA= \
2014-01-04 02:07:19 +04:00
src/autobuilder/js/argparse.js \
src/autobuilder/js/asyncutil.js \
src/autobuilder/js/buildutil.js \
src/autobuilder/js/builtin.js \
src/autobuilder/js/fileutil.js \
src/autobuilder/js/task.js \
src/autobuilder/js/jsonutil.js \
src/autobuilder/js/jsutil.js \
src/autobuilder/js/main.js \
src/autobuilder/js/libqa.js \
src/autobuilder/js/guestfish.js \
src/autobuilder/js/params.js \
src/autobuilder/js/procutil.js \
src/autobuilder/js/snapshot.js \
src/autobuilder/js/streamutil.js \
src/autobuilder/js/vcs.js \
src/autobuilder/js/versioneddir.js \
2014-01-03 22:15:12 +04:00
$(NULL)
jsautobuiltinsdir=$(jsautobuilderdir)/builtins
jsautobuiltins_DATA= \
2014-01-04 02:07:19 +04:00
src/autobuilder/js/builtins/autobuilder.js \
src/autobuilder/js/builtins/git_mirror.js \
src/autobuilder/js/builtins/make.js \
src/autobuilder/js/builtins/qa_make_disk.js \
src/autobuilder/js/builtins/run_task.js \
src/autobuilder/js/builtins/shell.js \
2014-01-03 22:15:12 +04:00
$(NULL)
jsautotasksdir=$(jsautobuilderdir)/tasks
jsautotasks_DATA= \
2014-03-15 06:53:31 +04:00
src/autobuilder/js/tasks/task-treecompose.js \
2014-01-26 04:17:59 +04:00
src/autobuilder/js/tasks/task-ensure-disk-caches.js \
2014-03-05 17:27:00 +04:00
src/autobuilder/js/tasks/task-repoweb.js \
2014-01-04 02:07:19 +04:00
src/autobuilder/js/tasks/task-smoketest.js \
src/autobuilder/js/tasks/task-zdisks.js \
src/autobuilder/js/tasks/testbase.js \
2014-01-03 22:15:12 +04:00
$(NULL)
2014-01-26 06:25:27 +04:00
2014-02-24 02:24:05 +04:00
testdatadir=$(pkgdatadir)-autobuilder
2014-01-26 06:25:27 +04:00
testdata_DATA = src/autobuilder/rpm-ostree-export-journal-to-serialdev \
src/autobuilder/rpm-ostree-export-journal-to-serialdev.service \
$(NULL)