chiark / gitweb /
libvolume_id: recognize swap partitions with a tuxonice hibernate image
[elogind.git] / extras / volume_id / Makefile
index 6e5006594a1bf104275ad959bae8a4f0c5e4a27c..50d5e338c2cc36e23b6093f306bd450a62fc90e7 100644 (file)
@@ -60,7 +60,8 @@ clean:
 .PHONY: clean
 
 install-bin: all
-       $(INSTALL_PROGRAM) -D $(PROG) $(DESTDIR)$(libudevdir)/$(PROG)
+       $(INSTALL) -d $(DESTDIR)$(libudevdir)
+       $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(libudevdir)/$(PROG)
        $(MAKE) -C lib install
 .PHONY: install-bin
 
@@ -70,7 +71,8 @@ uninstall-bin:
 .PHONY: uninstall-bin
 
 install-man:
-       $(INSTALL_DATA) -D $(PROG).8 $(DESTDIR)$(mandir)/man8/$(PROG).8
+       $(INSTALL) -d $(DESTDIR)$(mandir)/man8
+       $(INSTALL_DATA) $(PROG).8 $(DESTDIR)$(mandir)/man8/$(PROG).8
 .PHONY: install-man
 
 uninstall-man: