From 3e558a7d1b5d5bc00ab1f95d27f91c275fda7cea Mon Sep 17 00:00:00 2001 From: Steve Lawrence Date: Fri, 8 Jan 2016 09:31:15 -0500 Subject: [PATCH] secilc: update dependency information and man page creation - Update libsepol dependency to 2.5 - Update Makefile to build the man page when just running 'make' https://marc.info/?l=selinux&m=145220517200709&w=2 Reported-by: Nicolas Iooss Signed-off-by: Steve Lawrence --- secilc/Makefile | 6 +++--- secilc/README | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/secilc/Makefile b/secilc/Makefile index 739bf68f..9bea186b 100644 --- a/secilc/Makefile +++ b/secilc/Makefile @@ -17,11 +17,11 @@ CFLAGS ?= -Wall -Wshadow -Wextra -Wundef -Wmissing-format-attribute -Wcast-align override CFLAGS += -I$(INCLUDEDIR) -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 +all: $(SECILC) man + $(SECILC): $(SECILC_OBJS) $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LDLIBS) -all: $(SECILC) man - test: $(SECILC) ./$(SECILC) test/policy.cil @@ -46,4 +46,4 @@ clean: relabel: -.PHONY: all clean test install doc relabel +.PHONY: all clean test install doc relabel man diff --git a/secilc/README b/secilc/README index 4878a27a..b11045fe 100644 --- a/secilc/README +++ b/secilc/README @@ -11,7 +11,7 @@ INTRODUCTION DEPENDENCIES gcc >= 4.5.1 - libsepol >= 2.4 + libsepol >= 2.5 BUILD STEPS