chiark / gitweb /
use DESTDIR on uninstall, no need to pass prefix to submake
[elogind.git] / extras / scsi_id / Makefile
index 85f6ff6..8a8c714 100644 (file)
@@ -78,7 +78,7 @@ install-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: