summaryrefslogtreecommitdiffstats
path: root/textw/Makefile
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>1999-11-12 21:35:25 +0000
committerMike Fulbright <msf@redhat.com>1999-11-12 21:35:25 +0000
commit288529a31576468d7d27ca1e9aec8a63ac973510 (patch)
treeaab56db9f4f406e2a7a6b321bed746a7ed09c9fc /textw/Makefile
parent3230f88eef53294ac71019f620c998e98b62af77 (diff)
downloadanaconda-288529a31576468d7d27ca1e9aec8a63ac973510.tar.gz
anaconda-288529a31576468d7d27ca1e9aec8a63ac973510.tar.xz
anaconda-288529a31576468d7d27ca1e9aec8a63ac973510.zip
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.
Diffstat (limited to 'textw/Makefile')
-rw-r--r--textw/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/textw/Makefile b/textw/Makefile
index 55c8aecb7..2ac4f5eb6 100644
--- a/textw/Makefile
+++ b/textw/Makefile
@@ -1,7 +1,9 @@
+include ../Makefile.inc
+
all:
echo "nothing to make"
install:
- mkdir -p $(DESTDIR)/usr/lib/python1.5/site-packages/textw
- cp -a *.py $(DESTDIR)/usr/lib/python1.5/site-packages/textw
- ../py-compile --basedir $(DESTDIR)/usr/lib/python1.5/site-packages/textw $(DESTDIR)/usr/lib/python1.5/site-packages/textw/*.py
+ mkdir -p $(DESTDIR)/$(PYTHONLIBDIR)/textw
+ cp -a *.py $(DESTDIR)/$(PYTHONLIBDIR)/textw
+ ../py-compile --basedir $(DESTDIR)/$(PYTHONLIBDIR)/textw $(DESTDIR)/$(PYTHONLIBDIR)/textw/*.py