X-Git-Url: https://git.danieliu.xyz/?p=smdp.git;a=blobdiff_plain;f=Makefile;fp=Makefile;h=1d47fa0c086e38569b66444877bd8235b8851503;hp=02ef0fc2b61ad71e394cb34c3bb367831d92f392;hb=6a328bf6617966ec88be7c7dd78e160933f84a94;hpb=96277f3ca3bb80c44eb559b782cdd7044cd71514 diff --git a/Makefile b/Makefile index 02ef0fc..1d47fa0 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ UNAME_S := $(shell uname -s 2>/dev/null || echo not) SOURCES = $(sort $(wildcard src/*.c)) OBJECTS = $(SOURCES:.c=.o) -TARGET = mdp +TARGET = smdp DESTDIR = PREFIX ?= /usr/local @@ -62,7 +62,7 @@ install: install -d $(DESTDIR)$(PREFIX)/bin install -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/bin/$(TARGET) install -d $(DESTDIR)$(PREFIX)/share/man/man1 - install -m 644 mdp.1 $(DESTDIR)$(PREFIX)/share/man/man1/$(TARGET).1 + install -m 644 smdp.1 $(DESTDIR)$(PREFIX)/share/man/man1/$(TARGET).1 uninstall: $(RM) $(DESTDIR)$(PREFIX)/bin/$(TARGET)