X-Git-Url: https://git.danieliu.xyz/?p=smdp.git;a=blobdiff_plain;f=Makefile;h=9c63e0a2b6789abc8b4647db57f8d799ebdcc996;hp=cfb80feccfd49de4b22825a9e5974240c1d4fca0;hb=22055d604b1207680ded02d98715df5cafdf8648;hpb=01a21345277528bb331653603e0d3771e5ed5870 diff --git a/Makefile b/Makefile index cfb80fe..9c63e0a 100644 --- a/Makefile +++ b/Makefile @@ -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)