chiark / gitweb /
Makefile: remove exec_prefix and srcdir
[elogind.git] / extras / floppy / Makefile
index 8568e28edf1213fc1256d5070f9ef8e4fb36e2b1..d894a4a3e1d51e99657e7041ab1153350120231e 100644 (file)
@@ -12,14 +12,13 @@ GEN_HEADERS =
 MAN_PAGES =
 
 prefix =
-exec_prefix =  ${prefix}
 etcdir =       ${prefix}/etc
-sbindir =      ${exec_prefix}/sbin
-usrbindir =    ${exec_prefix}/usr/bin
-usrsbindir =   ${exec_prefix}/usr/sbin
+sbindir =      ${prefix}/sbin
+usrbindir =    ${prefix}/usr/bin
+usrsbindir =   ${prefix}/usr/sbin
+libudevdir =   ${prefix}/lib/udev
 mandir =       ${prefix}/usr/share/man
 configdir =    ${etcdir}/udev/
-srcdir = .
 
 INSTALL = /usr/bin/install -c
 INSTALL_PROGRAM = ${INSTALL}
@@ -35,7 +34,9 @@ all: $(PROG) $(MAN_PAGES)
 
 $(PROG): %: $(HEADERS) %.o $(OBJS)
        $(QUIET) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIBSYSFS) $(LIB_OBJS)
+ifneq ($(strip $(STRIPCMD)),)
        $(QUIET) $(STRIPCMD) $@
+endif
 
 # man pages
 %.8: %.xml