chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
volume_id: use shared library by default
[elogind.git]
/
extras
/
run_directory
/
Makefile
diff --git
a/extras/run_directory/Makefile
b/extras/run_directory/Makefile
index 1b48719c61798720442e4bc1772154d6910fdb58..0b52326a9a5b77472e3763588a9035248e5cedc3 100644
(file)
--- a/
extras/run_directory/Makefile
+++ b/
extras/run_directory/Makefile
@@
-11,14
+11,13
@@
GEN_HEADERS =
MAN_PAGES =
prefix =
MAN_PAGES =
prefix =
-exec_prefix = ${prefix}
etcdir = ${prefix}/etc
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/
mandir = ${prefix}/usr/share/man
configdir = ${etcdir}/udev/
-srcdir = .
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL}
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL}
@@
-30,31
+29,36
@@
all: $(PROG) $(MAN_PAGES)
.DEFAULT: all
%.o: %.c $(GEN_HEADERS)
.DEFAULT: all
%.o: %.c $(GEN_HEADERS)
- $(QUIET) $(CC) -c $(CFLAGS) $< -o $@
+ $(E) " CC " $@
+ $(Q) $(CC) -c $(CFLAGS) $< -o $@
$(PROG): %: $(HEADERS) %.o $(OBJS)
$(PROG): %: $(HEADERS) %.o $(OBJS)
- $(QUIET) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIBSYSFS) $(LIB_OBJS)
+ $(E) " LD " $@
+ $(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
ifneq ($(strip $(STRIPCMD)),)
ifneq ($(strip $(STRIPCMD)),)
- $(QUIET) $(STRIPCMD) $@
+ $(E) " STRIP " $@
+ $(Q) $(STRIPCMD) $@
endif
# man pages
%.8: %.xml
endif
# man pages
%.8: %.xml
- xmlto man $?
+ $(E) " XMLTO " $@
+ $(Q) xmlto man $?
.PRECIOUS: %.8
clean:
.PRECIOUS: %.8
clean:
- rm -f $(PROG) $(OBJS) $(GEN_HEADERS)
+ $(E) " CLEAN "
+ $(Q) rm -f $(PROG) $(OBJS) $(GEN_HEADERS)
.PHONY: clean
install-bin: all
.PHONY: clean
install-bin: all
- $(INSTALL_PROGRAM)
udev_run_devd $(DESTDIR)$(sbin
dir)/udev_run_devd
- $(INSTALL_PROGRAM)
udev_run_hotplugd $(DESTDIR)$(sbin
dir)/udev_run_hotplugd
+ $(INSTALL_PROGRAM)
-D udev_run_devd $(DESTDIR)$(libudev
dir)/udev_run_devd
+ $(INSTALL_PROGRAM)
-D udev_run_hotplugd $(DESTDIR)$(libudev
dir)/udev_run_hotplugd
.PHONY: install-bin
uninstall-bin:
.PHONY: install-bin
uninstall-bin:
- - rm $(DESTDIR)$(
sbin
dir)/udev_run_devd
- - rm $(DESTDIR)$(
sbin
dir)/udev_run_hotplugd
+ - rm $(DESTDIR)$(
libudev
dir)/udev_run_devd
+ - rm $(DESTDIR)$(
libudev
dir)/udev_run_hotplugd
.PHONY: uninstall-bin
install-man:
.PHONY: uninstall-bin
install-man: