diff Makefile.linux @ 35:bcbc92ffe0d0

Makes a .deb file at long last, but Duke still shows up as an icon in the dock.
author David Barts <n5jrn@me.com>
date Thu, 30 Apr 2020 21:22:30 -0700
parents 9bb5dfef3d2a
children
line wrap: on
line diff
--- a/Makefile.linux	Wed Apr 29 21:49:21 2020 -0700
+++ b/Makefile.linux	Thu Apr 30 21:22:30 2020 -0700
@@ -5,7 +5,10 @@
 
 .PHONY: all checkenv
 
-all: checkenv $(BDIR)/libjni.so $(BDIR)/libexiv2.so
+all: mkdirs checkenv $(BDIR)/libjni.so $(BDIR)/libexiv2.so
+
+mkdirs:
+	@[ -d "$(BDIR)" ] || mkdir -p "$(BDIR)"
 
 checkenv:
 	@if [ -z "$(JRE_HOME)" ]; then \