chiark / gitweb /
run_directory: add final warning before removal
[elogind.git] / extras / run_directory / Makefile
index 7ad6c547b810c7794e55f0e96ab63bff42b4b315..3d1674436b17cb0f81cbd4146f0d1e595a9d6adb 100644 (file)
@@ -19,10 +19,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
@@ -33,6 +33,7 @@ all: $(PROG) $(MAN_PAGES)
        $(Q) $(CC) -c $(CFLAGS) $< -o $@
 
 $(PROG): %: $(HEADERS) %.o $(OBJS)
+       @echo $@ "is DEPRECATED and will be removed, don't use it"
        $(E) "  LD      " $@
        $(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
 
@@ -48,6 +49,7 @@ clean:
 .PHONY: clean
 
 install-bin: all
+       @echo $@ "is DEPRECATED and will be removed, don't use it"
        $(INSTALL_PROGRAM) -D udev_run_devd $(DESTDIR)$(libudevdir)/udev_run_devd
        $(INSTALL_PROGRAM) -D udev_run_hotplugd $(DESTDIR)$(libudevdir)/udev_run_hotplugd
 .PHONY: install-bin
@@ -59,7 +61,7 @@ uninstall-bin:
 
 install-man:
        @echo "Please create a man page for this tool."
-.PHONY: uninstall-man
+.PHONY: install-man
 
 uninstall-man:
        @echo "Please create a man page for this tool."