summaryrefslogtreecommitdiffstats
path: root/loader/Makefile
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-03-27 19:45:03 +0000
committerErik Troan <ewt@redhat.com>2000-03-27 19:45:03 +0000
commit668d68cc906ce3869b0b4999e88064ace74b0595 (patch)
tree0fc28a6757cdeeb524fcb0f1aa3be9ceb1c3884e /loader/Makefile
parent3c294e16c41864af9cf86fb5390a34fe45d19cc8 (diff)
downloadanaconda-668d68cc906ce3869b0b4999e88064ace74b0595.tar.gz
anaconda-668d68cc906ce3869b0b4999e88064ace74b0595.tar.xz
anaconda-668d68cc906ce3869b0b4999e88064ace74b0595.zip
populated /usr/lib/anaconda-runtime
Diffstat (limited to 'loader/Makefile')
-rw-r--r--loader/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/loader/Makefile b/loader/Makefile
index 3ac9dca73..d742686c4 100644
--- a/loader/Makefile
+++ b/loader/Makefile
@@ -1,3 +1,5 @@
+include ../Makefile.inc
+
VERSION = 6.2
DESTDIR = ../../trees/initrd
@@ -105,14 +107,13 @@ dirs:
done
install: all
-# mkdir -p $(DESTDIR)/sbin
-# mkdir -p $(DESTDIR)/etc
-# rm -f $(DESTDIR)/sbin/loader
-# rm -f $(DESTDIR)/sbin/init
-# install -s loader $(DESTDIR)/sbin/loader
-# install -s init $(DESTDIR)/sbin/init
-# install -m 755 ../kudzu/pcitable $(DESTDIR)/etc
-# install -m 644 loader.tr $(DESTDIR)/etc
+ mkdir -p $(DESTDIR)/$(RUNTIMEDIR)/loader
+ for n in $(BINS); do \
+ install -s -m 755 $$n $(DESTDIR)/$(RUNTIMEDIR)/loader; \
+ done
+ install -m 644 loader.tr $(DESTDIR)/$(RUNTIMEDIR)/loader
+ install -m 644 module-info $(DESTDIR)/$(RUNTIMEDIR)/loader
+ install -m 644 ../kudzu/pcitable $(DESTDIR)/$(RUNTIMEDIR)/loader
loader: loader.o $(OBJS) $(NETOBJS)
$(CC) -g $(STATIC) -o $@ $^ -lpopt \