diff --git a/doc/man/man1/Makefile b/doc/man/man1/Makefile index 24108a104..b055a8fb7 100644 --- a/doc/man/man1/Makefile +++ b/doc/man/man1/Makefile @@ -2,6 +2,6 @@ path_to_top=../../.. include $(path_to_top)/Makefile.config install-l: - $(INSTALL_DATA) elinks.1 $(DESTDIR)$(mandir)/man1 + $(INSTALL_DATA) $(srcdir)/elinks.1 $(DESTDIR)$(mandir)/man1 include $(path_to_top)/Makefile.lib diff --git a/doc/man/man5/Makefile b/doc/man/man5/Makefile index 7a68cfe43..881423aaf 100644 --- a/doc/man/man5/Makefile +++ b/doc/man/man5/Makefile @@ -2,7 +2,7 @@ path_to_top=../../.. include $(path_to_top)/Makefile.config install-l: - $(INSTALL_DATA) elinks.conf.5 $(DESTDIR)$(mandir)/man5 - $(INSTALL_DATA) elinkskeys.5 $(DESTDIR)$(mandir)/man5 + $(INSTALL_DATA) $(srcdir)/elinks.conf.5 $(DESTDIR)$(mandir)/man5 + $(INSTALL_DATA) $(srcdir)/elinkskeys.5 $(DESTDIR)$(mandir)/man5 include $(path_to_top)/Makefile.lib