mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 07:33:27 -06:00
c8da61b92a
Python scripts are now generated from templates. The scripts are marked as nodist (no distribution) but install targets. The templates for the scripts are extra distribution data, no installation (noinst). Fixes: https://pagure.io/freeipa/issue/7680 Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
5 lines
195 B
Makefile
5 lines
195 B
Makefile
# special handling of Python scripts with auto-generated shebang line
|
|
$(PYTHON_SHEBANG):%: %.in Makefile
|
|
$(AM_V_GEN)sed -e 's|@PYTHONSHEBANG[@]|#!$(PYTHON) -E|g' $< > $@
|
|
$(AM_V_GEN)chmod +x $@
|