Makefile mac: get rid of error (non-fatal)

get rid of an error:
`cp: uv-qt.app/Contents/Frameworks: Not a directory`
This commit is contained in:
Martin Pulec
2024-09-20 14:53:29 +02:00
parent e1b37950ca
commit d794c28b2d

View File

@@ -575,7 +575,7 @@ hd-rum-multi/hd-rum:
# Makes dummy bundle (almost empty). May not be portable due to missing libs.
$(BUNDLE): $(TARGET) $(REFLECTOR_TARGET) @MANPAGES@ hd-rum-multi/hd-rum
rm -rf $(BUNDLE)
$(MKDIR_P) $(BUNDLE)/Contents/MacOS $(BUNDLE)/Contents/libs $(BUNDLE)/Contents/Frameworks
$(MKDIR_P) $(BUNDLE)/Contents/MacOS $(BUNDLE)/Contents/libs
$(CP) $(REFLECTOR_TARGET) $(TARGET) $(BUNDLE)/Contents/MacOS/
$(CP) -r data/template/macOS-bundle/* $(BUNDLE)/
$(CP) hd-rum-multi/hd-rum $(BUNDLE)/Contents/MacOS/
@@ -586,7 +586,7 @@ $(BUNDLE): $(TARGET) $(REFLECTOR_TARGET) @MANPAGES@ hd-rum-multi/hd-rum
| $(DYLIBBUNDLER) $(DYLIBBUNDLER_FLAGS) -of -cd -b \
-d $(BUNDLE)/Contents/libs/ -p @executable_path/../libs/ -x $$n; \
done
if [ -d Frameworks ]; then $(CP) -R Frameworks/* $(BUNDLE)/Contents/Frameworks/; fi
if [ -d Frameworks ]; then $(CP) -R Frameworks $(BUNDLE)/Contents/; fi
if [ -n '@MANPAGES@' ]; then mkdir -p $(BUNDLE)/Contents/man/man1; \
$(CP) @MANPAGES@ $(BUNDLE)/Contents/man/man1/; fi
#echo -n "UltraGrid" > $(BUNDLE)/Contents/PkgInfo