From 871c2dab3a4400f3ec60eaa1b67f6304696ace7c Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Sat, 17 Sep 2005 20:37:32 +0200 Subject: [PATCH] Try to fix installation when built out-of-tree. --- doc/man/man1/Makefile | 2 +- doc/man/man5/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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