From c3d8da0e89d3f2213933ff85dc0cca7d829442ed Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 27 Sep 2012 14:42:10 -0400 Subject: Initial commit --- Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b8971b4 --- /dev/null +++ b/Makefile @@ -0,0 +1,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: ; @: -- cgit v1.2.2