Main Page   Modules   Compound List   File List   Compound Members   File Members   Related Pages  

build.c File Reference

#include "system.h"
#include <rpmbuild.h>
#include <rpmurl.h>
#include "build.h"
#include "install.h"
#include "debug.h"

Go to the source code of this file.

Defines

#define _anyarch(_f)
#define buildCleanMask   (RPMBUILD_RMSOURCE|RPMBUILD_RMSPEC)

Functions

int checkSpec (Header h)
int isSpecFile (const char *specfile)
int buildForTarget (const char *arg, struct rpmBuildArguments *ba, const char *passPhrase, char *cookie)
int build (const char * arg, struct rpmBuildArguments * ba, const char * passPhrase, char * cookie, const char * rcfile)


Define Documentation

#define _anyarch( _f )
 

Initializer:

\
(((_f)&(RPMBUILD_PREP|RPMBUILD_BUILD|RPMBUILD_INSTALL|RPMBUILD_PACKAGEBINARY)) == 0)

#define buildCleanMask   (RPMBUILD_RMSOURCE|RPMBUILD_RMSPEC)
 


Function Documentation

int build ( const char * arg,
struct rpmBuildArguments * ba,
const char * passPhrase,
char * cookie,
const char * rcfile )
 

Definition at line 271 of file build.c.

Referenced by main().

int buildForTarget ( const char * arg,
struct rpmBuildArguments * ba,
const char * passPhrase,
char * cookie ) [static]
 

Definition at line 90 of file build.c.

Referenced by build().

int checkSpec ( Header h ) [static]
 

Definition at line 10 of file build.c.

Referenced by buildForTarget().

int isSpecFile ( const char * specfile ) [static]
 

Definition at line 55 of file build.c.

Referenced by buildForTarget().


Generated at Sun Apr 8 18:43:03 2001 for rpm by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000