2005-11-29 03:16:02 +00:00
|
|
|
diff --exclude-from=exclude -N -u -r nsalibsemanage/src/Makefile libsemanage-1.3.56/src/Makefile
|
|
|
|
--- nsalibsemanage/src/Makefile 2005-11-16 15:27:51.000000000 -0500
|
|
|
|
+++ libsemanage-1.3.56/src/Makefile 2005-11-28 14:47:34.000000000 -0500
|
|
|
|
@@ -3,10 +3,9 @@
|
|
|
|
LIBDIR ?= $(PREFIX)/lib
|
2005-08-30 13:46:52 +00:00
|
|
|
SHLIBDIR ?= $(DESTDIR)/lib
|
|
|
|
INCLUDEDIR ?= $(PREFIX)/include
|
2005-11-29 03:16:02 +00:00
|
|
|
-PYINC ?= /usr/include/python2.4
|
|
|
|
-PYLIB ?= /usr/lib/python2.4
|
|
|
|
PYLIBVER ?= python2.4
|
|
|
|
-PYTHONLIBDIR ?= $(LIBDIR)/python2.4
|
|
|
|
+PYINC ?= /usr/include/${PYLIBVER}
|
|
|
|
+PYLIBDIR ?= $(LIBDIR)/${PYLIBVER}
|
2005-08-30 13:46:52 +00:00
|
|
|
|
2005-11-29 03:16:02 +00:00
|
|
|
DEFAULT_SEMANAGE_CONF_LOCATION=$(DESTDIR)/etc/selinux/semanage.conf
|
2005-08-30 13:46:52 +00:00
|
|
|
|
2005-11-29 03:16:02 +00:00
|
|
|
@@ -85,8 +82,8 @@
|
|
|
|
cd $(LIBDIR) && ln -sf ../../`basename $(SHLIBDIR)`/$(LIBSO) $(TARGET)
|
|
|
|
|
|
|
|
install-pywrap: pywrap
|
|
|
|
- test -d $(PYTHONLIBDIR)/site-packages || install -m 755 -d $(PYTHONLIBDIR)/site-packages
|
|
|
|
- install -m 755 $(SWIGFILES) $(PYTHONLIBDIR)/site-packages
|
|
|
|
+ test -d $(PYLIBDIR)/site-packages || install -m 755 -d $(PYLIBDIR)/site-packages
|
|
|
|
+ install -m 755 $(SWIGFILES) $(PYLIBDIR)/site-packages
|
2005-08-30 13:46:52 +00:00
|
|
|
|
|
|
|
clean:
|
2005-11-29 03:16:02 +00:00
|
|
|
rm -f $(OBJS) $(LOBJS) $(LIBA) $(LIBSO) $(SWIGLOBJ) $(SWIGSO) $(TARGET) conf-parse.c conf-parse.h conf-scan.c
|