chiark / gitweb /
export DEVNAME on "remove" only if we really got a node to remove
[elogind.git] / Makefile
index f69ac96e9d61e469b1af210dff3e3cb55a065e18..4f6d3da983f910a235b065e48b1569f98df982c9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -50,7 +50,6 @@ PROGRAMS = \
        udev                            \
        udevd                           \
        udevsend                        \
-       udevrulescompile                \
        udevinitsend                    \
        udeveventrecorder               \
        udevcontrol                     \
@@ -169,7 +168,7 @@ endif
 # if DEBUG is enabled, then we do not strip
 ifeq ($(strip $(DEBUG)),true)
        CFLAGS  += -DDEBUG
-       STRIPCMD = /bin/true unstripped binary
+       STRIPCMD =
 endif
 
 ifeq ($(strip $(USE_GCOV)),true)
@@ -233,7 +232,9 @@ all: $(KLCC) $(PROGRAMS) $(MAN_PAGES)
 # "Static Pattern Rule" to build all programs
 $(PROGRAMS): %: $(HOST_PROGS) $(KLCC) $(HEADERS) $(GEN_HEADERS) $(LIBSYSFS) $(LIBUDEV) %.o
        $(QUIET) $(LD) $(LDFLAGS) $@.o -o $@ $(LIBUDEV) $(LIBSYSFS) $(LIB_OBJS)
+ifneq ($(STRIPCMD),)
        $(QUIET) $(STRIPCMD) $@
+endif
 
 # our own copy of klibc, it is not used if KLCC is given
 $(KLCC):