summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-06-05 04:48:09 +0200
committerKay Sievers <kay.sievers@suse.de>2005-06-05 04:48:09 +0200
commit1682c8c4a3909f9d80f17544bcfc6fb73379bc7e (patch)
treeaec391785dd0a33dce8104a0b0af9cddce046e26 /Makefile
parent0590abd720f0ddc8204539feef4df8987d7a1f8c (diff)
Makefile: fix DESTDIR
Patch from: Vassilis Virvilis <vasvir@iit.demokritos.gr> Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 2a832f7054..1cf3e54fb7 100644
--- a/Makefile
+++ b/Makefile
@@ -50,7 +50,6 @@ INFO = udevinfo
TESTER = udevtest
STARTER = udevstart
VERSION = 058
-INSTALL_DIR = /usr/local/bin
RELEASE_NAME = $(ROOT)-$(VERSION)
LOCAL_CFG_DIR = etc/udev
DESTDIR =
@@ -180,7 +179,6 @@ ifeq ($(strip $(USE_KLIBC)),true)
KLCC = $(KLIBC_INSTALL)/bin/klcc
CC = $(KLCC)
LD = $(KLCC)
- LDFLAGS += -static
else
CFLAGS += -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
endif
@@ -252,8 +250,8 @@ udev_version.h:
@echo \#define UDEV_CONFIG_DIR \"$(configdir)\" >> $@
@echo \#define UDEV_CONFIG_FILE \"$(configdir)/udev.conf\" >> $@
@echo \#define UDEV_RULES_FILE \"$(configdir)/rules.d\" >> $@
- @echo \#define UDEV_BIN \"$(DESTDIR)$(sbindir)/udev\" >> $@
- @echo \#define UDEVD_BIN \"$(DESTDIR)$(sbindir)/udevd\" >> $@
+ @echo \#define UDEV_BIN \"$(sbindir)/udev\" >> $@
+ @echo \#define UDEVD_BIN \"$(sbindir)/udevd\" >> $@
# Rules on how to create the generated config files
$(LOCAL_CFG_DIR)/udev.conf: