From 03be10b4fe8bca8d7c4ef4bf85bafd52a345865a Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 6 Apr 2016 21:21:55 +0200 Subject: [PATCH] Makefile-dmg: Copy files from subdirs We don't want a /dist/qutebrowser.app in the dmg, only a /qutebrowser.app. --- scripts/dev/Makefile-dmg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dev/Makefile-dmg b/scripts/dev/Makefile-dmg index d18d39fdf..17c48b7e0 100644 --- a/scripts/dev/Makefile-dmg +++ b/scripts/dev/Makefile-dmg @@ -59,7 +59,7 @@ $(MASTER_DMG): $(WC_DMG) $(addprefix $(SOURCE_DIR)/,$(SOURCE_FILES)) hdiutil attach "$(WC_DMG)" -noautoopen -quiet -mountpoint "$(WC_DIR)" for i in $(SOURCE_FILES); do \ rm -rf "$(WC_DIR)/$$i"; \ - ditto -rsrc "$(SOURCE_DIR)/$$i" "$(WC_DIR)/$$i"; \ + ditto -rsrc "$(SOURCE_DIR)/$$i" "$(WC_DIR)/$${i##*/}"; \ done #rm -f "$@" #hdiutil create -srcfolder "$(WC_DIR)" -format UDZO -imagekey zlib-level=9 "$@" -volname "$(NAME) $(VERSION)" -scrub -quiet