mirror of
https://github.com/SELinuxProject/selinux
synced 2025-01-11 16:09:47 +00:00
bash completsion scripts have moved.
This patch moves the semanage bash completion script to the new location.
This commit is contained in:
parent
91d0de4adf
commit
a9dfbeeb72
@ -5,7 +5,7 @@ SBINDIR ?= $(PREFIX)/sbin
|
||||
MANDIR = $(PREFIX)/share/man
|
||||
PYLIBVER ?= $(shell python -c 'import sys;print "python%d.%d" % sys.version_info[0:2]')
|
||||
PYTHONLIBDIR ?= $(LIBDIR)/$(PYLIBVER)
|
||||
BASHCOMPLETIONDIR ?= $(DESTDIR)/etc/bash_completion.d/
|
||||
BASHCOMPLETIONDIR ?= $(DESTDIR)/usr/share/bash-completion/completions
|
||||
|
||||
TARGETS=semanage
|
||||
|
||||
@ -21,7 +21,7 @@ install: all
|
||||
test -d $(PYTHONLIBDIR)/site-packages || install -m 755 -d $(PYTHONLIBDIR)/site-packages
|
||||
install -m 755 seobject.py $(PYTHONLIBDIR)/site-packages
|
||||
-mkdir -p $(BASHCOMPLETIONDIR)
|
||||
install -m 644 $(BASHCOMPLETIONS) $(BASHCOMPLETIONDIR)
|
||||
install -m 644 $(BASHCOMPLETIONS) $(BASHCOMPLETIONDIR)/semanage
|
||||
|
||||
clean:
|
||||
|
||||
|
@ -4,7 +4,7 @@ INCLUDEDIR ?= $(PREFIX)/include
|
||||
SBINDIR ?= $(PREFIX)/sbin
|
||||
MANDIR = $(PREFIX)/share/man
|
||||
LIBDIR ?= $(PREFIX)/lib
|
||||
BASHCOMPLETIONDIR ?= $(DESTDIR)/etc/bash_completion.d/
|
||||
BASHCOMPLETIONDIR ?= $(DESTDIR)/usr/share/bash-completion/completions
|
||||
|
||||
CFLAGS ?= -Werror -Wall -W
|
||||
override CFLAGS += -I$(INCLUDEDIR)
|
||||
@ -23,7 +23,7 @@ install: all
|
||||
-mkdir -p $(MANDIR)/man8
|
||||
install -m 644 setsebool.8 $(MANDIR)/man8/
|
||||
-mkdir -p $(BASHCOMPLETIONDIR)
|
||||
install -m 644 $(BASHCOMPLETIONS) $(BASHCOMPLETIONDIR)
|
||||
install -m 644 $(BASHCOMPLETIONS) $(BASHCOMPLETIONDIR)/setsebool
|
||||
|
||||
relabel:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user