X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=Makefile;h=555fb963380f564abfdf4a090e6763ee3550d53d;hp=cf486c96fb5ddbc333f111b6a9fc7695dee29c32;hb=29d7062c011d38b123dd71aabd3b184d4b18348f;hpb=8fdb6c7e5b1441c2c94459d407fa3cb4417959b9 diff --git a/Makefile b/Makefile index cf486c9..555fb96 100644 --- a/Makefile +++ b/Makefile @@ -108,7 +108,8 @@ data-clean: 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