fix(Makefile): copy manpage instead of moving it

This commit is contained in:
Tom MTT. 2022-11-21 14:23:56 +01:00
parent 236b8a0545
commit 8f75f88950

View file

@ -29,7 +29,7 @@ install: $(TARGET) $(TARGET).1
@echo "installing manpage to $(MAN)/man1"
@mkdir -p $(MAN)/man1
@mv -f $(TARGET).1 $(MAN)/man1
@cp -f $(TARGET).1 $(MAN)/man1
@chmod 644 $(MAN)/man1/$(TARGET).1
uninstall: $(PREFIX)/bin/$(TARGET) $(MAN)/man1/$(TARGET).1