[PATCH 05/92] libselinux: simplify SRCS in Makefile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


This patch looks good to me. acked.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk44Fn0ACgkQrlYvE4MpobM9ywCcDooSyUNRzteopdokeJdD6OmR
y3YAnjhJgtbG6tFQuVA7Ku/DOx1i7VXP
=PuLh
-----END PGP SIGNATURE-----
>From 019b0ad9c7aecf814a1be91ac34e696a430a033a Mon Sep 17 00:00:00 2001
From: root <root@(none).(none)>
Date: Wed, 22 Jun 2011 16:06:21 -0400
Subject: [PATCH 05/92] libselinux: simplify SRCS in Makefile

The makefile does:
  SRCS= $(filter-out $A, $(filter-out $B, *))
When it can just do:
  SRCS= $(filter-out $A $B, *)

Signed-off-by: Eric Paris <eparis@xxxxxxxxxx>
---
 libselinux/src/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libselinux/src/Makefile b/libselinux/src/Makefile
index bf665ab..ef817cd 100644
--- a/libselinux/src/Makefile
+++ b/libselinux/src/Makefile
@@ -42,7 +42,7 @@ ifeq ($(DISABLE_RPM),y)
 endif
 
 GENERATED=$(SWIGCOUT) $(SWIGRUBYCOUT)
-SRCS= $(filter-out $(UNUSED_SRCS), $(filter-out audit2why.c $(GENERATED),$(wildcard *.c)))
+SRCS= $(filter-out $(UNUSED_SRCS) $(GENERATED) audit2why.c, $(wildcard *.c))
 
 OBJS= $(patsubst %.c,%.o,$(SRCS))
 LOBJS= $(patsubst %.c,%.lo,$(SRCS))
-- 
1.7.6

Attachment: 0005-libselinux-simplify-SRCS-in-Makefile.patch.sig
Description: PGP signature


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux