2008-08-19 19:30:36 +00:00
|
|
|
# Installation directories.
|
2011-09-19 20:38:33 +00:00
|
|
|
PREFIX ?= $(DESTDIR)/usr
|
2008-08-19 19:30:36 +00:00
|
|
|
BINDIR ?= $(PREFIX)/bin
|
|
|
|
LIBDIR ?= $(PREFIX)/lib
|
|
|
|
MANDIR ?= $(PREFIX)/share/man
|
|
|
|
LOCALEDIR ?= /usr/share/locale
|
|
|
|
|
2013-10-09 21:19:30 +00:00
|
|
|
all: audit2why
|
|
|
|
|
|
|
|
audit2why:
|
|
|
|
ln -sf audit2allow audit2why
|
2008-08-19 19:30:36 +00:00
|
|
|
|
|
|
|
install: all
|
|
|
|
-mkdir -p $(BINDIR)
|
|
|
|
install -m 755 audit2allow $(BINDIR)
|
2013-10-09 21:19:30 +00:00
|
|
|
(cd $(BINDIR); ln -sf audit2allow audit2why)
|
2008-08-19 19:30:36 +00:00
|
|
|
install -m 755 sepolgen-ifgen $(BINDIR)
|
|
|
|
-mkdir -p $(MANDIR)/man1
|
|
|
|
install -m 644 audit2allow.1 $(MANDIR)/man1/
|
2013-10-09 21:19:30 +00:00
|
|
|
install -m 644 audit2why.1 $(MANDIR)/man1/
|
2008-08-19 19:30:36 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *~
|
|
|
|
|
|
|
|
indent: ;
|
|
|
|
|
|
|
|
relabel: ;
|