From 288529a31576468d7d27ca1e9aec8a63ac973510 Mon Sep 17 00:00:00 2001 From: Mike Fulbright Date: Fri, 12 Nov 1999 21:35:25 +0000 Subject: Several changes to build structure - contact Dr Mike if you hit problems. I've made most of the Makefile's use the Makefile.inc include in the root of the anaconda src tree to get the python path, instead of having it defined in many different places. In the top level Makefile I added a install target called install-unconfig. This target installs the anaconda script and associated support files with the intention of being able to run anaconda in unconfig mode after a successful install. This mode is automatically selected if the executed script is called 'anaconda-unconfig', or the '-U' command line parameter is used. --- isys/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'isys') 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 -- cgit