aboutsummaryrefslogtreecommitdiffstats
path: root/libsemanage/include/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libsemanage/include/Makefile')
-rw-r--r--libsemanage/include/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/libsemanage/include/Makefile b/libsemanage/include/Makefile
new file mode 100644
index 00000000..391f9507
--- /dev/null
+++ b/libsemanage/include/Makefile
@@ -0,0 +1,10 @@
+# Installation directories.
+PREFIX ?= $(DESTDIR)/usr
+INCDIR ?= $(PREFIX)/include/semanage
+
+install:
+ test -d $(INCDIR) || install -m 755 -d $(INCDIR)
+ install -m 644 $(wildcard semanage/*.h) $(INCDIR)
+
+indent:
+ ../../scripts/Lindent $(wildcard semanage/*.h)