From 14f6c0ebf5dff73b9cda296023dd9e558422bdbf Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Wed, 28 Sep 2005 21:43:09 +0200 Subject: [PATCH] Always create the directory path before installing (using mkinstalldirs) --- doc/man/man1/Makefile | 1 + doc/man/man5/Makefile | 1 + src/Makefile | 1 + 3 files changed, 3 insertions(+) diff --git a/doc/man/man1/Makefile b/doc/man/man1/Makefile index 68e1ba5a4..0ad9cce92 100644 --- a/doc/man/man1/Makefile +++ b/doc/man/man1/Makefile @@ -2,6 +2,7 @@ path_to_top=../../.. include $(path_to_top)/Makefile.config install-local: + $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man1 $(INSTALL_DATA) elinks.1 $(DESTDIR)$(mandir)/man1 include $(path_to_top)/Makefile.lib diff --git a/doc/man/man5/Makefile b/doc/man/man5/Makefile index 49e7bc79c..45f58b494 100644 --- a/doc/man/man5/Makefile +++ b/doc/man/man5/Makefile @@ -2,6 +2,7 @@ path_to_top=../../.. include $(path_to_top)/Makefile.config install-local: + $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man5 $(INSTALL_DATA) elinks.conf.5 $(DESTDIR)$(mandir)/man5 $(INSTALL_DATA) elinkskeys.5 $(DESTDIR)$(mandir)/man5 diff --git a/src/Makefile b/src/Makefile index 8d7f7bb8e..d87b149b1 100644 --- a/src/Makefile +++ b/src/Makefile @@ -41,6 +41,7 @@ elinks: lib.o $(call cmd,link) install-local: + $(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(INSTALL_PROGRAM) elinks $(DESTDIR)$(bindir) include $(path_to_top)/Makefile.lib