aboutsummaryrefslogtreecommitdiffstats
path: root/libselinux/src
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2011-09-28 17:15:16 -0400
committerEric Paris <eparis@redhat.com>2011-11-02 15:37:10 -0400
commitc81a43c753efbda6f2106dbf0a291005683474f8 (patch)
treecb51c58fa6a6cc250b8f56a7254b22b4b8feb3b1 /libselinux/src
parentb3b19fdce58ff6ddfa6dfb8e5576c922c96e1e45 (diff)
downloadandroid_external_selinux-c81a43c753efbda6f2106dbf0a291005683474f8.tar.gz
android_external_selinux-c81a43c753efbda6f2106dbf0a291005683474f8.tar.bz2
android_external_selinux-c81a43c753efbda6f2106dbf0a291005683474f8.zip
libselinux: libsemanage: libsepol: regenerate .pc on VERSION change
The makefile which generated the package config files did not have the VERSION file as a dependancy. Thus if you updated a tree you have previously build the .pc file wouldn't be rebuilt and the old version would be reinstalled. Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com>
Diffstat (limited to 'libselinux/src')
-rw-r--r--libselinux/src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libselinux/src/Makefile b/libselinux/src/Makefile
index 2602d8b5..1ddddb01 100644
--- a/libselinux/src/Makefile
+++ b/libselinux/src/Makefile
@@ -92,7 +92,7 @@ $(LIBSO): $(LOBJS)
$(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -ldl -L$(LIBDIR) -Wl,-soname,$(LIBSO),-z,defs,-z,relro
ln -sf $@ $(TARGET)
-$(LIBPC): $(LIBPC).in
+$(LIBPC): $(LIBPC).in ../VERSION
sed -e 's/@VERSION@/$(VERSION)/; s:@prefix@:$(PREFIX):; s:@libdir@:$(LIBBASE):; s:@includedir@:$(INCLUDEDIR):' < $< > $@
selinuxswig_python_exception.i: ../include/selinux/selinux.h