blob: b8971b48cc66978387000b6f49e1ede63789960c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
subcommands = help mvn-basename mvn-install mvn-localrepo
####
subcommand_files = $(addprefix jh-,$(subcommands))
help_files = $(addsuffic .help.,jh- $(subcommands))
all: PHONY build
####
build: PHONY jh $(subcommand_files) $(help_files)
install: $(DESTDIR)/usr/bin/jh $(addprefix $(DESTDIR)/usr/share/jh/,$(subcommand_files) $(help_files))
$(DESTDIR)/usr/share/jh/%: %
cp '$<' '$@'
$(DESTDIR)/usr/bin/jh: jh
cp '$<' '$@'
####
.PHONY: PHONY FORCE
PHONY FORCE: ; @:
|