diff --git a/camino/Chimera.pbproj/project.pbxproj b/camino/Chimera.pbproj/project.pbxproj index 695d95dc46fd..4d75a8cbbf19 100644 --- a/camino/Chimera.pbproj/project.pbxproj +++ b/camino/Chimera.pbproj/project.pbxproj @@ -1409,7 +1409,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "mkdir -p locale/en-US/communicator/history/ ; cp ../xpfe/components/history/resources/locale/en-US/history.properties locale/en-US/communicator/history ; zip -g ../dist/Embed/chrome/embed.jar locale/en-US/communicator/history/history.properties ; rm -rf locale"; + shellScript = "SRCDIR=`make echo_srcdir`; mkdir -p locale/en-US/communicator/history/ ; cp $SRCDIR/../xpfe/components/history/resources/locale/en-US/history.properties locale/en-US/communicator/history ; zip -g ../dist/Embed/chrome/embed.jar locale/en-US/communicator/history/history.properties ; rm -rf locale"; }; 3FA0DBC00473293D00A80005 = { buildActionMask = 2147483647; @@ -1422,7 +1422,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "mkdir -p locale/en-US/communicator/history/ ; cp ../xpfe/components/history/resources/locale/en-US/history.properties locale/en-US/communicator/history ; zip -g ../dist/Embed/chrome/embed.jar locale/en-US/communicator/history/history.properties ; rm -rf locale"; + shellScript = "SRCDIR=`make echo_srcdir`; mkdir -p locale/en-US/communicator/history/ ; cp $SRCDIR/../xpfe/components/history/resources/locale/en-US/history.properties locale/en-US/communicator/history ; zip -g ../dist/Embed/chrome/embed.jar locale/en-US/communicator/history/history.properties ; rm -rf locale"; }; 3FAD95540461E43700A80005 = { isa = PBXFileReference; diff --git a/camino/Makefile b/camino/Makefile index 5b97b9d55745..ff2306af41f7 100644 --- a/camino/Makefile +++ b/camino/Makefile @@ -65,4 +65,6 @@ clean clobber: rm -rf build rm -f resources/localized/English.lproj/Localized.rsrc - +# convenience target for PB script build phases +echo_srcdir: + @echo $(srcdir)