X-Git-Url: https://git.danieliu.xyz/?p=smdp.git;a=blobdiff_plain;f=Makefile;h=9c63e0a2b6789abc8b4647db57f8d799ebdcc996;hp=c2a48982dad6f3b8b072da4d559355a6718cfb95;hb=22055d604b1207680ded02d98715df5cafdf8648;hpb=a685e60c039f0288021006ad4e2c2979df10f8a7 diff --git a/Makefile b/Makefile index c2a4898..9c63e0a 100644 --- a/Makefile +++ b/Makefile @@ -60,8 +60,9 @@ 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 -d $(DESTDIR)$(PREFIX)/share/man/man1 + install -m 644 mdp.1 $(DESTDIR)$(PREFIX)/share/man/man1/$(TARGET).1 uninstall: $(RM) $(DESTDIR)$(PREFIX)/$(TARGET)