chiark / gitweb /
074 release
[elogind.git] / Makefile
index f69ac96e9d61e469b1af210dff3e3cb55a065e18..bc97388a1293283832214b873e99c8f6d6988178 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 #
 
-VERSION = 071
+VERSION = 074
 
 # set this to make use of syslog
 USE_LOG = true
@@ -50,8 +50,6 @@ PROGRAMS = \
        udev                            \
        udevd                           \
        udevsend                        \
-       udevrulescompile                \
-       udevinitsend                    \
        udeveventrecorder               \
        udevcontrol                     \
        udevmonitor                     \
@@ -169,7 +167,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 +231,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):
@@ -269,7 +269,6 @@ 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                 \"$(sbindir)/udev\" >> $@
        @echo \#define UDEVD_BIN                \"$(sbindir)/udevd\" >> $@
 
 # man pages
@@ -375,7 +374,6 @@ uninstall-bin:
        - rm -f $(DESTDIR)$(sbindir)/udev
        - rm -f $(DESTDIR)$(sbindir)/udevd
        - rm -f $(DESTDIR)$(sbindir)/udevsend
-       - rm -f $(DESTDIR)$(sbindir)/udevinitsend
        - rm -f $(DESTDIR)$(sbindir)/udeveventrecoreder
        - rm -f $(DESTDIR)$(sbindir)/udevcontrol
        - rm -f $(DESTDIR)$(sbindir)/udevstart