JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
create all install dirs and parents is needed
authorJason Woofenden <jason283@herkamire.com>
Thu, 28 May 2009 20:47:38 +0000 (16:47 -0400)
committerJason Woofenden <jason283@herkamire.com>
Thu, 28 May 2009 20:47:38 +0000 (16:47 -0400)
Makefile

index cf486c9..555fb96 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -108,7 +108,8 @@ data-clean:
        rm -f $(graphics) font_guts font_guts.pov
 
 mkinstalldirs:
        rm -f $(graphics) font_guts font_guts.pov
 
 mkinstalldirs:
-       if [ ! -d $(DESTDIR)$(pkgdatadir) ]; then mkdir $(DESTDIR)$(pkgdatadir); fi
+       if [ ! -d $(DESTDIR)$(pkgdatadir) ]; then mkdir -p $(DESTDIR)$(pkgdatadir); fi
+       if [ ! -d $(DESTDIR)$(bindir) ]; then mkdir -p $(DESTDIR)$(bindir); fi
 
 rminstalldirs: uninstall-data
        if [ -d $(DESTDIR)$(pkgdatadir) ]; then rmdir $(DESTDIR)$(pkgdatadir); fi
 
 rminstalldirs: uninstall-data
        if [ -d $(DESTDIR)$(pkgdatadir) ]; then rmdir $(DESTDIR)$(pkgdatadir); fi