summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2012-06-30 09:12:35 +0200
committerHarald Hoyer <harald@redhat.com>2012-07-02 18:52:49 +0200
commitf4031e8a9a7734fbb94e7350a814a5446c5cef5c (patch)
tree9bac905bf4307947e8b0be40efc9ec45c1465f6d /install
parent85854b245e1090970d566d6432dabc315e17461c (diff)
downloaddracut-f4031e8a9a7734fbb94e7350a814a5446c5cef5c.tar.gz
dracut-f4031e8a9a7734fbb94e7350a814a5446c5cef5c.tar.bz2
dracut-f4031e8a9a7734fbb94e7350a814a5446c5cef5c.zip
move dracut-install to dracutbasedir
We do not want to install dracut-install to /usr/bin until all interfaces are set to stone and the manpage is written. Until then the tool is dracut internal.
Diffstat (limited to 'install')
-rw-r--r--install/Makefile18
1 files changed, 4 insertions, 14 deletions
diff --git a/install/Makefile b/install/Makefile
index 59532a83..5332f251 100644
--- a/install/Makefile
+++ b/install/Makefile
@@ -1,17 +1,7 @@
-prefix ?= /usr
-bindir ?= ${prefix}/bin
-strip ?= -s
-
-all: dracut-install
-
-dracut-install: dracut-install.c hashmap.c log.c util.c
- gcc -std=gnu99 -O2 -g -Wall -o dracut-install dracut-install.c hashmap.c log.c util.c
-
-install: dracut-install
- install $(strip) -m 0755 dracut-install $(DESTDIR)$(bindir)/dracut-install
+all:
+ $(MAKE) -C ..
clean:
- rm -f dracut-install *~
+ $(MAKE) -C .. clean
-indent:
- indent -i8 -nut -br -linux -l120 dracut-install.c
+.PHONY: all clean