type_admin: introduce media-changer / tape admin wrapper
- tape_admin: helper script to handle common tape handling routines - mtx: is used for media-changer functions - json: define media-pools, corresponding volume-names and attributes Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
2
Makefile
2
Makefile
@@ -23,6 +23,7 @@ SNAPPER_TEMPLATES ?= /etc/snapper/config-templates
|
||||
DSNAP_SYNC_EXAMPLES = /usr/share/doc/dsnap-sync
|
||||
|
||||
BIN_DIR = $(DESTDIR)$(PREFIX)/bin
|
||||
ETC_DIR = $(DESTDIR)/etc
|
||||
SYSTEMD_DIR = $(DESTDIR)$(PREFIX)/lib/systemd/system
|
||||
DOC_DIR = $(DESTDIR)$(PREFIX)/share/doc/$(PKGNAME)
|
||||
|
||||
@@ -31,5 +32,6 @@ DOC_DIR = $(DESTDIR)$(PREFIX)/share/doc/$(PKGNAME)
|
||||
install:
|
||||
@./find_snapper_config || sed -i 's@^SNAPPER_CONFIG=.*@SNAPPER_CONFIG='$(SNAPPER_CONFIG)'@g' bin/$(PKGNAME)
|
||||
@install -Dm755 bin/* -t $(BIN_DIR)/
|
||||
@install -Dm644 etc/* -t $(DESTDIR)/$(ETC_DIR)/
|
||||
@install -Dm644 $(SNAPPER_TEMPLATES)/* -t $(DESTDIR)/$(SNAPPER_TEMPLATES)/
|
||||
@install -Dm644 $(DSNAP_SYNC_EXAMPLES)/* -t $(DESTDIR)/$(DOC_DIR)/
|
||||
|
||||
Reference in New Issue
Block a user