mirror of
https://github.com/OISF/suricata.git
synced 2026-02-19 02:28:46 -05:00
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.
(cherry picked from commit fcbae97a1f)
20 lines
481 B
Makefile
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
|