Create installations directories before installing into them, like GNU
[u/mdw/putty] / 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