Go to file
Wolfgang Bumiller 6285b251e7 don't hardcode /usr/share paths
Add a defines.mk file defining the standard default layout
for installation (PREFIX, DATAROOTDIR, LIBDIR etc.).

Add a $(JSDIR) variable and use env!("JSDIR") in place of
the hardcoded /usr/share/javascript/proxmox-backup path.

Have defines.mk include an *optional* local.mak to override
JSDIR to www/ during local development.

Add `make install` targets and remove debian/install.

Note that service files are now in $libdir/proxmox-backup/
as there's usually no point in starting them from the
command line, so /usr/sbin makes no sense.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-02-01 10:41:54 +01:00
debian don't hardcode /usr/share paths 2019-02-01 10:41:54 +01:00
etc don't hardcode /usr/share paths 2019-02-01 10:41:54 +01:00
src don't hardcode /usr/share paths 2019-02-01 10:41:54 +01:00
tests fix tests/catar.rs - add missing parameter 2019-01-18 17:39:51 +01:00
www don't hardcode /usr/share paths 2019-02-01 10:41:54 +01:00
.gitignore add rust standard .gitignore file 2018-12-19 11:06:51 +01:00
Cargo.toml depend on pam-auth, use pam for root login 2019-02-01 09:30:50 +01:00
Makefile don't hardcode /usr/share paths 2019-02-01 10:41:54 +01:00
defines.mk don't hardcode /usr/share paths 2019-02-01 10:41:54 +01:00