chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vol_id: do not fail if unable to drop privileges
[elogind.git]
/
extras
/
edd_id
/
Makefile
diff --git
a/extras/edd_id/Makefile
b/extras/edd_id/Makefile
index 8afd8cc2fd841fb672d1fa1f90ac3566275f8230..71cc3dad7c060faec5ce0aa917ce3dcb29dafc5d 100644
(file)
--- a/
extras/edd_id/Makefile
+++ b/
extras/edd_id/Makefile
@@
-20,10
+20,10
@@
libudevdir = ${prefix}/lib/udev
mandir = ${prefix}/usr/share/man
configdir = ${etcdir}/udev/
mandir = ${prefix}/usr/share/man
configdir = ${etcdir}/udev/
-INSTALL =
/usr/bin/
install -c
+INSTALL = install -c
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
-INSTALL_SCRIPT = ${INSTALL
_PROGRAM
}
+INSTALL_SCRIPT = ${INSTALL}
all: $(PROG) $(MAN_PAGES)
.PHONY: all
all: $(PROG) $(MAN_PAGES)
.PHONY: all
@@
-36,10
+36,6
@@
all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS)
$(E) " LD " $@
$(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
$(PROG): %: $(HEADERS) %.o $(OBJS)
$(E) " LD " $@
$(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
-ifneq ($(strip $(STRIPCMD)),)
- $(E) " STRIP " $@
- $(Q) $(STRIPCMD) $@
-endif
# man pages
%.8: %.xml
# man pages
%.8: %.xml
@@
-53,16
+49,16
@@
clean:
.PHONY: clean
install-bin: all
.PHONY: clean
install-bin: all
- $(INSTALL_PROGRAM)
$(PROG) $(DESTDIR)$(sbin
dir)/$(PROG)
+ $(INSTALL_PROGRAM)
-D $(PROG) $(DESTDIR)$(libudev
dir)/$(PROG)
.PHONY: install-bin
uninstall-bin:
.PHONY: install-bin
uninstall-bin:
- - rm $(DESTDIR)$(
sbin
dir)/$(PROG)
+ - rm $(DESTDIR)$(
libudev
dir)/$(PROG)
.PHONY: uninstall-bin
install-man:
$(INSTALL_DATA) -D $(PROG).8 $(DESTDIR)$(mandir)/man8/$(PROG).8
.PHONY: uninstall-bin
install-man:
$(INSTALL_DATA) -D $(PROG).8 $(DESTDIR)$(mandir)/man8/$(PROG).8
-.PHONY:
un
install-man
+.PHONY: install-man
uninstall-man:
-rm -f $(DESTDIR)$(mandir)/man8/$(PROG).8
uninstall-man:
-rm -f $(DESTDIR)$(mandir)/man8/$(PROG).8