mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-28 18:01:23 -06:00
a38a384359
Replacing -E flag to -I on all ipa python scripts except tests. Signed-off-by: Alexandre Mulatinho <alex@mulatinho.net> Related: https://pagure.io/freeipa/issue/7987 Reviewed-By: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Francois Cami <fcami@redhat.com>
8 lines
265 B
Makefile
8 lines
265 B
Makefile
# special handling of Python scripts with auto-generated shebang line
|
|
$(PYTHON_SHEBANG):%: %.in Makefile
|
|
$(AM_V_GEN)sed -e 's|^#!/usr/bin/python3.*|#!$(PYTHON) -I|g' $< > $@
|
|
$(AM_V_GEN)chmod +x $@
|
|
|
|
.PHONY: python_scripts_sub
|
|
python_scripts_sub: $(PYTHON_SHEBANG)
|