---
name: "kdesrc-build-setup"
section: "1"
platform: "linux"
package: "kdesrc-build"
version: "1.15.1-1.1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/kdesrc-build-setup"
---

# kdesrc-build-setup(1)

Creates a ~/.kdesrc-buildrc configuration file for kdesrc-build(1).

## NAME

kdesrc-build-setup - Creates a ~/.kdesrc-buildrc configuration file for [**kdesrc-build**(1)](/kdesrc-build/1.md).

## SYNOPSIS

**kdesrc-build-setup**

## DESCRIPTION

The **kdesrc-build-setup** command is used to generate a simple configuration file for [**kdesrc-build**(1)](/kdesrc-build/1.md).

It requires the [**dialog**(1)](/dialog/1.md) script be available, and Perl (just like **kdesrc-build**).

No command line options are accepted. The operation of the program is instead driven through dialog-style prompts to gather the data required to generate the configuration file. The configuration file can be saved to a location other than ~/.kdesrc-buildrc.

## OPTIONS

No command line options are supported for this command.

## EXIT STATUS

**0**

Success

**Anything else**

Either there was an I/O failure of some type (invalid permissions, disk full, etc.), or the user canceled the program by pressing ESC during a dialog.

## ENVIRONMENT

**HOME**

Used for tilde-expansion of file names, and is the default base for the source, build, and installation directories.

[**dialog**(1)](/dialog/1.md)

The [**dialog**(1)](/dialog/1.md) program is required for the operation of this script and may obey environment variables of its own.

## FILES

\~/.kdesrc-buildrc - Default global configuration file, generated by default by this script. If the file already exists, the existing file is moved to ~/.kdesrc-buildrc~ as a backup before generating the configuration.

The file generated by this script can be saved to a different name instead.

## BUGS

See **http://bugs.kde.org/**. Be sure to search against the **kdesrc-build** product.

## SEE ALSO

[**kdesrc-build**(1)](/kdesrc-build/1.md)

kdesrc-buildrc-sample file (if included with your kdesrc-build distribution).

## RESOURCES

Main web site: **http://kdesrc-build.kde.org/**

Documentation: **http://kdesrc-build.kde.org/documentation/**

## COPYING

Copyright (C) 2011 Michael Pyne.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

## AUTHOR

**Michael Pyne** \<mpyne@kde.org\>

Author.
