'\" t
.\" Title: \fBcreate_makefiles\fR
.\" Author: [see the "Authors" section]
.\" Generator: DocBook XSL Stylesheets vsnapshot
.\" Date: 2003-03-08
.\" Manual: [FIXME: manual]
.\" Source: [FIXME: source]
.\" Language: English
.\"
.TH "\FBCREATE_MAKEFILES\" "1" "2003\-03\-08" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
create_makefiles \- Recreates all Makefiles beneath a directory
.SH "SYNOPSIS"
.HP \w'\fBcreate_makefiles\fR\ 'u
\fBcreate_makefiles\fR [\fIdir\fR]
.SH "DESCRIPTION"
.PP
\fBcreate_makefiles\fR
recreates all
Makefiles in
\fIdir\fR
and its (recursed) subdirectories from the corresponding
Makefile\&.am
templates\&.
.PP
This script must be run from the toplevel directory (the one containing configure)\&. This script saves time compared to re\-running configure completely\&.
.PP
If the source directory is different from the build directory (see the environment variables below), it will be assumed that each
Makefile\&.am
and
Makefile\&.in
belongs beneath the source directory and that each
Makefile
belongs beneath the build directory\&.
.PP
This utility is part of the
KDE
Software Development Kit\&.
.SH "ENVIRONMENT"
.PP
One of the following variables (but not both) should be set if the source directory is different from the build directory\&. If the build directory is simply a subdirectory of the source directory, the simpler variable
\fBOBJ_SUBDIR\fR
should be used\&.
.PP
\fBOBJ_SUBJDIR\fR
.RS 4
Indicates that the build directory is in the given subdirectory of the source directory\&. For instance, if the source directory is
kdesdk
and the build directory is
kdesdk/obj\-i386\-linux, then
\fBOBJ_SUBDIR\fR
should be set to
\fIobj\-i386\-linux\fR\&.
.RE
.PP
\fBOBJ_REPLACEMENT\fR
.RS 4
A
\fBsed\fR
expression that is used to transform the source directory into the build directory\&. For instance, if the source directory is
kdesdk/obj\-i386\-linux, then
\fBOBJ_REPLACEMENT\fR
should be set to
\fIs#kdesdk#kdesdk\-obj#\fR\&.
.RE
.SH "SEE ALSO"
.PP
create_makefile(1) make(2)
.SH "AUTHORS"
.PP
\fBcreate_makefiles\fR
was written by
David Faure
\&.
.PP
This manual page was prepared by
Ben Burton
for the Debian GNU/Linux system (but may be used by others)\&.