summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-05-03 21:14:31 +0000
committerMatt Wilson <msw@redhat.com>1999-05-03 21:14:31 +0000
commit0326f77c860cf57068cde4ad365451e7adbef268 (patch)
treecfbe72e33a557626eb3bc4089d3d531c6e5fc9c1 /Makefile
parent663a64b69379647e24bd23faf3bed61d683b4133 (diff)
downloadanaconda-0326f77c860cf57068cde4ad365451e7adbef268.tar.gz
anaconda-0326f77c860cf57068cde4ad365451e7adbef268.tar.xz
anaconda-0326f77c860cf57068cde4ad365451e7adbef268.zip
added install target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index f9c02f4c7..e9b611f27 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
SUBDIRS = rpmmodule isys balkan loader
-
-DESTDIR = ../../../RedHat/instimage/usr/bin
+TOPDIR = ../../..
+DESTDIR = $TOPDIR/RedHat/instimage/usr/bin
all: subdirs
@@ -12,7 +12,7 @@ clean:
subdirs:
for d in $(SUBDIRS); do \
- (cd $$d; $(MAKE)) \
+ (cd $$d; $(MAKE) TOPDIR=../$(TOPDIR)) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;\
done && test -z "$$fail"