Skip to content
Snippets Groups Projects
Commit 01a3a718 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Makefile: Move lengthy variable list to separate variable


Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent e948770c
No related branches found
No related tags found
No related merge requests found
......@@ -280,6 +280,18 @@ TESTS_ENVIRONMENT = \
PYTHONPATH=. TOP_SRCDIR=$(abs_top_srcdir) \
$(RUN_IN_TEMPDIR) $(PYTHON)
srclink_files = \
man/footer.sgml \
$(dist_sbin_SCRIPTS) \
$(dist_tools_SCRIPTS) \
$(dist_TESTS) \
$(pkgpython_PYTHON) \
$(hypervisor_PYTHON) \
$(rapi_PYTHON) \
$(http_PYTHON) \
$(confd_PYTHON) \
$(noinst_PYTHON)
all-local: stamp-directories devel/upload \
doc/examples/bash_completion \
doc/examples/ganeti.initd doc/examples/ganeti.cron \
......@@ -381,10 +393,7 @@ $(REPLACE_VARS_SED): Makefile stamp-directories
# files when building.
srclinks: stamp-directories
set -e; \
for i in man/footer.sgml $(pkgpython_PYTHON) $(hypervisor_PYTHON) \
$(rapi_PYTHON) $(http_PYTHON) $(confd_PYTHON) \
$(dist_sbin_SCRIPTS) $(dist_tools_SCRIPTS) \
$(dist_TESTS) $(noinst_PYTHON); do \
for i in $(srclink_files); do \
if test ! -f $$i -a -f $(abs_top_srcdir)/$$i; then \
$(LN_S) $(abs_top_srcdir)/$$i $$i; \
fi; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment