forked from laurent85v/archuseriso
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
34 lines (25 loc) · 1.08 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#
# SPDX-License-Identifier: GPL-3.0-or-later
PREFIX ?= /usr/local
BIN_DIR=$(DESTDIR)$(PREFIX)/bin
DOC_DIR=$(DESTDIR)$(PREFIX)/share/doc/archuseriso
PROFILE_DIR=$(DESTDIR)$(PREFIX)/share/archuseriso
DOC_FILES=AUTHORS.rst Dockerfile LICENSE readme.md
all:
install: install-scripts install-pkgbuild install-profiles install-doc
install-scripts:
install -vD -m 755 archuseriso/aui-mkiso -t $(BIN_DIR)/
install -vD -m 755 archuseriso/aui-mkusb -t $(BIN_DIR)/
install -vD -m 755 archuseriso/aui-mkhybrid -t $(BIN_DIR)/
install -vD -m 755 archuseriso/aui-mkinstall -t $(BIN_DIR)/
install -vD -m 755 archuseriso/aui-run -t $(BIN_DIR)/
install -vD -m 755 archuseriso/aui-buildzfs -t $(BIN_DIR)/
install-pkgbuild:
install -d -m 755 $(PROFILE_DIR)
cp -a --no-preserve=ownership pkgbuild $(PROFILE_DIR)/
install-profiles:
install -d -m 755 $(PROFILE_DIR)
cp -a --no-preserve=ownership profiles $(PROFILE_DIR)/
install-doc:
install -vD -m 644 $(DOC_FILES) -t $(DOC_DIR)/
.PHONY: install install-scripts install-profiles install-doc