changeset 25:813a27f32072

create installation directories
author David A. Holland
date Sun, 26 May 2013 21:58:46 -0400
parents ae420ef170e4
children b296ea10b8f5
files mk/script.mk
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mk/script.mk	Sun May 26 18:33:11 2013 -0400
+++ b/mk/script.mk	Sun May 26 21:58:46 2013 -0400
@@ -11,6 +11,8 @@
 depend: ;
 
 install:
+	[ -d $(DESTDIR)$(PREFIX)/$(BINDIR) ] || \
+		mkdir -p $(DESTDIR)$(PREFIX)/$(BINDIR)
 	$(INSTALL) -c $(PROG) $(DESTDIR)$(PREFIX)/$(BINDIR)/$(PROG)
 
 clean distclean: