Files
gitx/Install.xcconfig
André Berg 50185248c7 Install gitx (the CLI) via Install.sh.
To do this we use a modified gitx_askpasswd to ask for sudo permissions during build.

Modifications to gitx_askpasswd include:

- Ability to specify the dialog info text (or title) via STDIN or a GITX_ASKPASSWD_DIALOG_TITLE env variable.
  Install.sh uses the env var in 'sudo -A -E' to kindly request the password.
  
  The point of this is to provide a sensible title which lets the user/dev know why he has to enter his password in a dialog that is obviously not from Mac OS X. 

Install.sh will now also create the folder hierarchy needed for the install paths set in Install.xcconfig using 'sudo -A -E' if neccessary (if the folders don't exist).
2010-03-26 11:33:32 +01:00

30 lines
1.2 KiB
Plaintext

//
// Install.xcconfig
// GitX
//
// Created by Andre Berg on 19.10.09.
// Copyright 2009 Berg Media. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Global settings across build configurations for Install
// The Install build config should just serve as a mere extension to the Release
// config, e.g. please do not define settings here that could as well be defined
// in Release.xcconfig.
#include "Release.xcconfig"
CUSTOM_INSTALL_DIR = $(DEVELOPER_DIR)/Applications/Utilities/Third-Party // used with the Install.sh script
CLI_CUSTOM_INSTALL_DIR = /usr/local/bin // used with the Install.sh script