2
* JB, the Jean-Yves Lefort's Build System
3
* Copyright (C) 2008 Jean-Yves Lefort <jylefort@brutele.be>
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 3 of the License, or
8
* (at your option) any later version.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License along
16
* with this program; if not, write to the Free Software Foundation, Inc.,
17
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20
#ifndef _JB_INSTALL_OPTIONS_H
21
#define _JB_INSTALL_OPTIONS_H
23
#include <sys/types.h>
34
void jb_install_options_init (JBInstallOptions *self);
36
void jb_install_options_set_installdir (JBInstallOptions *self,
37
const char *installdir);
38
void jb_install_options_set_owner (JBInstallOptions *self, const char *owner);
39
void jb_install_options_set_group (JBInstallOptions *self, const char *group);
40
void jb_install_options_set_extra_mode (JBInstallOptions *self, mode_t extra_mode);
42
void jb_install_options_install (JBInstallOptions *self,
45
const char *default_owner,
46
const char *default_group,
48
void jb_install_options_install_data (JBInstallOptions *self,
51
void jb_install_options_install_program (JBInstallOptions *self,
54
void jb_install_options_install_library (JBInstallOptions *self,
58
#endif /* _JB_INSTALL_OPTIONS_H */