From: Michael Göhler Date: Sat, 11 Apr 2015 11:40:17 +0000 (+0200) Subject: use TARGET where possible X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=f38c2f467878d066ae27628160ac22f48e19fdaa;p=smdp.git use TARGET where possible --- diff --git a/Makefile b/Makefile index c2a4898..33271c2 100644 --- a/Makefile +++ b/Makefile @@ -60,8 +60,8 @@ clean: install: install -d $(DESTDIR)$(PREFIX)/bin - install -m 755 mdp $(DESTDIR)$(PREFIX)/bin/$(TARGET) - install -m 644 mdp.1 $(DESTDIR)$(PREFIX)/share/man/man1/ + install -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/bin/$(TARGET) + install -m 644 mdp.1 $(DESTDIR)$(PREFIX)/share/man/man1/$(TARGET).1 uninstall: $(RM) $(DESTDIR)$(PREFIX)/$(TARGET)