root/libselinux/include/Makefile

Revision 46d294f645abf02f3d4dc4514cf53092a3e80e33, 303 bytes (checked in by Eric Paris <eparis@redhat.com>, 1 year ago)

libselinux: Update Makefiles to handle /usrmove

Move everything into /usr/* and just put links from /*. The whole /usr
thing hasn't really worked in all situations for a long long time. Just
accept that fact and move along.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Dan Walsh <dwalsh@redhat.com>

  • Property mode set to 100644
Line 
1 # Installation directories.
2 PREFIX ?= $(DESTDIR)/usr
3 INCDIR ?= $(PREFIX)/include/selinux
4
5 all:
6
7 install: all
8         test -d $(INCDIR) || install -m 755 -d $(INCDIR)
9         install -m 644 $(wildcard selinux/*.h) $(INCDIR)
10
11 indent:
12         ../../scripts/Lindent $(wildcard selinux/*.h)
13
14 distclean clean:
15         -rm -f selinux/*~
16
Note: See TracBrowser for help on using the browser.