suricata/python/Makefile.am
Andreas Dolp fcbae97a1f python/Makefile.am: fix file permissions of python/suricata/config/defaults.py
The install command, by default, sets 0755 if -m is not specified, so the
file python/suricata/config/defaults.py will be marked as an executable,
though it isn't.
2025-11-03 18:58:22 +00:00

20 lines
481 B
Makefile

LIBS = \
suricata/__init__.py \
suricata/config/__init__.py
EXTRA_DIST = $(LIBS) suricata/config/defaults.py
if HAVE_PYTHON
install-exec-local:
install -d -m 0755 "$(DESTDIR)$(prefix)/lib/suricata/python/suricata/config"
install -m 0644 suricata/config/defaults.py \
"$(DESTDIR)$(prefix)/lib/suricata/python/suricata/config/defaults.py"
uninstall-local:
rm -rf $(DESTDIR)$(prefix)/lib/suricata/python
clean-local:
find . -name \*.pyc -print0 | xargs -0 rm -f
endif