introduce buildcfg module and PROXMOX_CONFIGDIR

buildcfg.rs should contain convenience variables or macros
for using build-time configured variables

For now we replace hardcoded "/etc/proxmox-backup/<foo>"
with configdir!("<foo>").

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2019-02-04 15:13:03 +01:00
parent 0d176f3681
commit 9f4962d396
5 changed files with 16 additions and 5 deletions

View File

@ -1,3 +1,6 @@
#[macro_use]
pub mod buildcfg;
#[macro_use]
pub mod tools;