mirror of
https://github.com/jorgebucaran/fisher
synced 2024-10-05 09:32:37 +02:00
eb25045c94
+init script +packaging hints ~adjust Travis script to prepare for the tests
25 lines
796 B
Makefile
25 lines
796 B
Makefile
sharepath = $(DESTDIR)/usr/share
|
|
fishpath = $(sharepath)/fish
|
|
fisherpath = $(sharepath)/fisherman
|
|
manpath = $(sharepath)/man
|
|
|
|
.PHONY: all
|
|
all:
|
|
|
|
.PHONY: install
|
|
install:
|
|
# prepare directories because install -Dt won't do it on the CI server
|
|
mkdir -p "$(fisherpath)/completions" "$(fisherpath)/functions"
|
|
# the main config, which can be sourced by the user
|
|
install -Dm 644 config-fisherman.fish "$(fishpath)/config-fisherman.fish"
|
|
install -Dm 644 config.fish "$(fisherpath)/config.fish"
|
|
install -Dm 644 config-fisherman.fish "$(fishpath)/config-fisherman.fish"
|
|
# completions
|
|
install -Dt "$(fisherpath)/completions" completions/*
|
|
# functions
|
|
install -Dt "$(fisherpath)/functions" functions/*
|
|
# man pages, README and LICENSE
|
|
install -Dt "$(manpath)/man1" man/man1/*
|
|
|
|
.PHONY: clean
|
|
clean:
|