Logo
Explore Help
Sign In
IntenseWebs/freeipa
3
0
Fork 0
You've already forked freeipa
mirror of https://salsa.debian.org/freeipa-team/freeipa.git synced 2025-02-25 18:55:28 -06:00
Code Issues Packages Projects Releases Wiki Activity
Files
3f9e23f12573b1b5dbd5284620e86393018aa548
freeipa/Makefile.pythonscripts.am

8 lines
261 B
Makefile
Raw Normal View History

Generate scripts from templates 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>
2018-08-22 17:15:55 +02:00
# 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 $@
Add missing deps for `make pylint` The make target `pylint` hasn't a full list of its dependencies. This leads to problems like: - different build results - PR tests just do not run pylint over some Python scripts. The new build target (`python_scripts`) was implemented. It's intended for building all Python scripts (files, containing @PYTHONSHEBANG@ as a shebang placeholder). The make `pylint` should require it. Fixes: https://pagure.io/freeipa/issue/7921 Signed-off-by: Stanislav Levin <slev@altlinux.org> Reviewed-By: Christian Heimes <cheimes@redhat.com>
2019-04-18 16:55:00 +03:00
.PHONY: python_scripts_sub
python_scripts_sub: $(PYTHON_SHEBANG)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 26ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API