fix(Makefile): copy manpage instead of moving it
This commit is contained in:
parent
236b8a0545
commit
8f75f88950
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -29,7 +29,7 @@ install: $(TARGET) $(TARGET).1
|
||||||
|
|
||||||
@echo "installing manpage to $(MAN)/man1"
|
@echo "installing manpage to $(MAN)/man1"
|
||||||
@mkdir -p $(MAN)/man1
|
@mkdir -p $(MAN)/man1
|
||||||
@mv -f $(TARGET).1 $(MAN)/man1
|
@cp -f $(TARGET).1 $(MAN)/man1
|
||||||
@chmod 644 $(MAN)/man1/$(TARGET).1
|
@chmod 644 $(MAN)/man1/$(TARGET).1
|
||||||
|
|
||||||
uninstall: $(PREFIX)/bin/$(TARGET) $(MAN)/man1/$(TARGET).1
|
uninstall: $(PREFIX)/bin/$(TARGET) $(MAN)/man1/$(TARGET).1
|
||||||
|
|
Reference in a new issue