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. --- balkan/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'balkan/Makefile') diff --git a/balkan/Makefile b/balkan/Makefile index 036392ac5..4487cb0e7 100644 --- a/balkan/Makefile +++ b/balkan/Makefile @@ -1,4 +1,6 @@ -PYTHONLIBDIR = $(DESTDIR)/usr/lib/python1.5/site-packages +include ../Makefile.inc + +#PYTHONLIBDIR = $(DESTDIR)/usr/lib/python1.5/site-packages OBJECTS = rw.o dos.o sun.o bsdlabel.o @@ -22,4 +24,5 @@ dos.o: dos.h sun.o: sun.h install: all - cp _balkanmodule.so $(PYTHONLIBDIR) + mkdir -p $(DESTDIR)/$(PYTHONLIBDIR) + cp _balkanmodule.so $(DESTDIR)/$(PYTHONLIBDIR) -- cgit