mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 13:45:10 +00:00
[MOD] Also install Ayadocs.
This commit is contained in:
parent
a92e3daafa
commit
112bb9b523
1 changed files with 12 additions and 7 deletions
19
Makefile
19
Makefile
|
|
@ -55,19 +55,24 @@ $(AYAS)/%.html: $(INCLUDES)/%.h
|
|||
tools/out/aya $(AFLAGS) -i $< -o $@
|
||||
|
||||
|
||||
# Installs everything. Except Ayadocs. Get pranked.
|
||||
install: binary utils ayadoc install_setup install_parsee install_tools
|
||||
@echo $(PREFIX)
|
||||
# Installs everything.
|
||||
install: binary utils ayadoc install_setup install_parsee install_tools install_aya
|
||||
@echo Installing $(NAME) to $(PREFIX)
|
||||
|
||||
install_setup:
|
||||
install -dm755 "$(PREFIX)/bin"
|
||||
install -dm755 "$(PREFIX)/doc"
|
||||
|
||||
install -dm755 "$(PREFIX)/share/doc"
|
||||
|
||||
install_parsee:
|
||||
install -Dm755 "$(BINARY)" "$(PREFIX)/bin/$(BINARY)"
|
||||
|
||||
TOOLS:=$(shell find 'tools/out' -name '*')
|
||||
ITOOL:=${subst tools/out/,$(PREFIX)/bin/,$(TOOLS)}
|
||||
ITOOL:=${subst tools/out/,$(PREFIX)/bin/,$(patsubst tools/out/%, tools/out/$(BINARY)-%, $(TOOLS))}
|
||||
install_tools: $(ITOOL)
|
||||
$(PREFIX)/bin/%: tools/out/%
|
||||
$(PREFIX)/bin/$(BINARY)-%: tools/out/%
|
||||
install -Dm755 "$<" "$@"
|
||||
|
||||
IHTML:=${subst $(AYAS)/,$(PREFIX)/share/doc/$(BINARY)/,$(AYA_FILES)}
|
||||
install_aya: $(IHTML)
|
||||
$(PREFIX)/share/doc/$(BINARY)/%: $(AYAS)/%
|
||||
install -Dm644 "$<" "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue