X-Git-Url: https://git.danieliu.xyz/?p=smdp.git;a=blobdiff_plain;f=Makefile;h=1d47fa0c086e38569b66444877bd8235b8851503;hp=564466fda6f6be786dc02a152ceba96a0677cb73;hb=HEAD;hpb=51b5210e3f28c81cc0972c1ff23f2e7b15f8f233 diff --git a/Makefile b/Makefile index 564466f..1d47fa0 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # # Makefile -# Copyright (C) 2016 Michael Goehler +# Copyright (C) 2018 Michael Goehler # # This file is part of mdp. # @@ -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,9 +62,10 @@ 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)/$(TARGET) + $(RM) $(DESTDIR)$(PREFIX)/bin/$(TARGET) + $(RM) $(DESTDIR)$(PREFIX)/share/man/man1/$(TARGET).1 .PHONY: all clean install src uninstall