There will be maintenance performed on git.ligo.org, chat.ligo.org, containers.lig.org, and docs.ligo.org starting at 9am PDT on Tuesday 18th August 2020. There will be an extremely small period of downtime at the start of the maintenance window as various services are restarted. Please address any comments, questions, or concerns to computing-help@igwn.org.

Commit 7893708f authored by Adam Mercer's avatar Adam Mercer

Merge branch 'gnuscripts-lalsuite-python-fix' into 'master'

gnuscripts/lalsuite_python.am: move Automake rule hooks outside of HAVE_PYTHON

See merge request lscsoft/lalsuite!1199
parents 23e21aa0 eaec4bc0
......@@ -9,6 +9,12 @@ SUFFIXES = .py
.PHONY: pybin-uninstall-local
.PHONY: pybin-dist-hook
all-local: pymodule-all-local pyscripts-all-local
mostlyclean-local: pymodule-mostlyclean-local pyscripts-mostlyclean-local py-mostlyclean-local
install-exec-local: pybin-install-exec-local
uninstall-local: pybin-uninstall-local
dist-hook: pybin-dist-hook
if HAVE_PYTHON
BUILT_SOURCES += $(pybin_scripts)
......@@ -18,7 +24,6 @@ uninstalled_runner = $(top_srcdir)/gnuscripts/lalsuite_run_uninstalled
uninstalled_compiler = $(uninstalled_runner) '$(abs_top_builddir)' '$(abs_builddir)' '$(LDADD)'
EXTRA_DIST += $(uninstalled_runner)
all-local: pymodule-all-local pyscripts-all-local
pymodule-all-local:
$(AM_V_at)if test "x$(builddir)" != "x$(srcdir)"; then \
for file in $(pymodule_PYTHON); do \
......@@ -38,7 +43,6 @@ pyscripts-all-local:
done; \
fi
mostlyclean-local: pymodule-mostlyclean-local pyscripts-mostlyclean-local py-mostlyclean-local
pymodule-mostlyclean-local:
$(AM_V_at)if test "x$(builddir)" != "x$(srcdir)"; then \
for file in $(pymodule_PYTHON); do \
......@@ -84,7 +88,6 @@ $(pybin_scripts): Makefile pyscripts-all-local
chmod +x $@.tmp || exit 1; \
mv -f $@.tmp $@
install-exec-local: pybin-install-exec-local
pybin-install-exec-local:
$(AM_V_at)shebang='#!'; \
if test "x$(pybin_scripts)" != x; then \
......@@ -115,7 +118,6 @@ pybin-install-exec-local:
done; \
fi
uninstall-local: pybin-uninstall-local
pybin-uninstall-local:
-for file in $(pybin_scripts); do \
rm -f "$(DESTDIR)$(bindir)/$${file}"; \
......@@ -124,7 +126,6 @@ pybin-uninstall-local:
fi; \
done
dist-hook: pybin-dist-hook
pybin-dist-hook:
for file in $(pybin_scripts); do \
cp "$(srcdir)/$${file}.py" "$(distdir)/$${file}.py"; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment