X-Git-Url: https://git.danieliu.xyz/?p=smdp.git;a=blobdiff_plain;f=Makefile;h=9c63e0a2b6789abc8b4647db57f8d799ebdcc996;hp=c1f8658eaf18eee73c2b81385402f01eee1124a1;hb=22055d604b1207680ded02d98715df5cafdf8648;hpb=8db3a632678fe8b300cee54191dba4ffc4239838 diff --git a/Makefile b/Makefile index c1f8658..9c63e0a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # # Makefile -# Copyright (C) 2014 Michael Goehler +# Copyright (C) 2015 Michael Goehler # # This file is part of mdp. # @@ -60,7 +60,9 @@ clean: install: install -d $(DESTDIR)$(PREFIX)/bin - install -m 755 mdp $(DESTDIR)$(PREFIX)/bin/$(TARGET) + 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 uninstall: $(RM) $(DESTDIR)$(PREFIX)/$(TARGET)