X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=extras%2Ffloppy%2FMakefile;h=784464a84339b26f3d8a500a6b060d5a494e4909;hb=9ea893ae25aaedbad9b91a9f49114abcb79135b7;hp=4416559c4a50a818e6a62baab1df9c409c0db1b8;hpb=c76b97dc4d10fb569fa0d599e30a40b54fad05e4;p=elogind.git diff --git a/extras/floppy/Makefile b/extras/floppy/Makefile index 4416559c4..784464a84 100644 --- a/extras/floppy/Makefile +++ b/extras/floppy/Makefile @@ -20,10 +20,10 @@ libudevdir = ${prefix}/lib/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_SCRIPT = ${INSTALL_PROGRAM} +INSTALL_SCRIPT = ${INSTALL} all: $(PROG) $(MAN_PAGES) .PHONY: all @@ -57,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: install-man uninstall-man: - @echo "Please create a man page for this tool." + -rm -f $(DESTDIR)$(mandir)/man8/$(PROG).8 .PHONY: uninstall-man install-config: