Create installations directories before installing into them, like GNU
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Mon, 30 Apr 2007 20:09:58 +0000 (20:09 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Mon, 30 Apr 2007 20:09:58 +0000 (20:09 +0000)
packages do.

Problem reported by Manfred Pausch.

git-svn-id: svn://svn.tartarus.org/sgt/putty@7494 cda61777-01e9-0310-a592-d414129be87e

Recipe

diff --git a/Recipe b/Recipe
index 79ea3b0..efdfaba 100644 (file)
--- a/Recipe
+++ b/Recipe
@@ -190,6 +190,7 @@ RCFLAGS += $(VER)
 # `make install' target for Unix.
 !begin gtk
 install:
+       mkdir -p $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
        $(INSTALL_PROGRAM) -m 755 plink $(DESTDIR)$(bindir)/plink
        $(INSTALL_PROGRAM) -m 755 pscp $(DESTDIR)$(bindir)/pscp
        $(INSTALL_PROGRAM) -m 755 psftp $(DESTDIR)$(bindir)/psftp