summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
Diffstat (limited to 'isys')
-rw-r--r--isys/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/isys/Makefile b/isys/Makefile
index cc5ef20fc..5f042e567 100644
--- a/isys/Makefile
+++ b/isys/Makefile
@@ -1,3 +1,5 @@
+include ../Makefile.inc
+
ARCH := $(patsubst i%86,i386,$(shell uname -m))
ARCH := $(patsubst sparc%,sparc,$(ARCH))
CFLAGS = -I/usr/include/python1.5 -I.. -g
@@ -7,7 +9,7 @@ STATICOBJS = otherinsmod.o
STATICLIBS = ../kudzu/kudzumodule.so
LOADLIBES = -lrpm -lbz2 -lresolv -lz -lpci -lpopt
SUBDIRS = modutils pci
-PYTHONLIBDIR = $(DESTDIR)/usr/lib/python1.5/site-packages
+#PYTHONLIBDIR = $(DESTDIR)/Pusr/lib/python1.5/site-packages
PYMODULES = _isys.so
ifeq ($(ARCH),sparc)
@@ -29,7 +31,7 @@ clean:
for d in $(SUBDIRS); do make TOPDIR=../$(TOPDIR) -C $$d clean; done
install: all
- cp $(PYMODULES) isys.py $(PYTHONLIBDIR)
+ cp $(PYMODULES) isys.py $(DESTDIR)/$(PYTHONLIBDIR)
subdirs:
for d in $(SUBDIRS); do make TOPDIR=../$(TOPDIR) -C $$d; done