chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
"STRIPCMD=" for the EXTRAS
[elogind.git]
/
extras
/
scsi_id
/
Makefile
diff --git
a/extras/scsi_id/Makefile
b/extras/scsi_id/Makefile
index 85f6ff6ca81e385e8a7acecd1cb2e0abebc0559b..fadd4a1dd40b932ace3ae259f13a17d3db58a858 100644
(file)
--- a/
extras/scsi_id/Makefile
+++ b/
extras/scsi_id/Makefile
@@
-49,7
+49,9
@@
all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS)
$(QUIET) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIBSYSFS) $(LIB_OBJS)
$(PROG): %: $(HEADERS) %.o $(OBJS)
$(QUIET) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIBSYSFS) $(LIB_OBJS)
+ifneq ($(strip $(STRIPCMD)),)
$(QUIET) $(STRIPCMD) $@
$(QUIET) $(STRIPCMD) $@
+endif
scsi_id_version.h:
@echo "/* This file is auto-generated by the Makefile */" > $@
scsi_id_version.h:
@echo "/* This file is auto-generated by the Makefile */" > $@
@@
-78,7
+80,7
@@
install-man:
.PHONY: uninstall-man
uninstall-man:
.PHONY: uninstall-man
uninstall-man:
- -rm -f $(mandir)/man8/scsi_id.8
+ -rm -f $(
DESTDIR)$(
mandir)/man8/scsi_id.8
.PHONY: uninstall-man
install-config:
.PHONY: uninstall-man
install-config: