chiark / gitweb /
volume_id: use glibc's byteswap
[elogind.git] / extras / dasd_id / Makefile
index 2a14050d66d26d861da400b1c05c2bbb513c7bf8..a995c7892da11ec35ce364546ec6bef1272d1778 100644 (file)
@@ -35,7 +35,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
@@ -55,11 +57,11 @@ uninstall-bin:
 .PHONY: uninstall-bin
 
 install-man:
-       @echo "Please create a man page for this tool."
+       $(INSTALL_DATA) -D $(PROG).8 $(DESTDIR)$(mandir)/man8/$(PROG).8
 .PHONY: uninstall-man
 
 uninstall-man:
-       @echo "Please create a man page for this tool."
+       -rm -f $(DESTDIR)$(mandir)/man8/$(PROG).8
 .PHONY: uninstall-man
 
 install-config: