summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-05-12 20:13:11 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-05-12 20:13:11 -0400
commitbd6489c9c43cf3d92f248844e1663c11daedf291 (patch)
tree7777176a32d1bebb0e4811f0c726bcfddc80f290
parent1de371eeaa58ab36b9c0ff349efa81037a40817a (diff)
fix Makefile
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 33307fe..810b0c4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,8 @@
prefix = /usr
bindir = $(prefix)/bin
-pkgdatadir = /usr/share/jh # hardcoded into jh.sh
+# pkgdatadir is hardcoded into jh.sh
+pkgdatadir = /usr/share/jh
+
subcommands = help list-commands mvn-basename mvn-install mvn-localrepo checksource
dirs = $(DESTDIR)$(bindir) $(DESTDIR)$(pkgdatadir)
@@ -19,7 +21,7 @@ install: PHONY $(DESTDIR)$(bindir)/jh $(addprefix $(DESTDIR)$(pkgdatadir)/,$(sub
clean: PHONY
rm -f jh $(subcommand_files)
-$(DESTDIR)$(pkgdaradir)/%: % | $(DESTDIR)$(pkgdatadir)
+$(DESTDIR)$(pkgdatadir)/%: % | $(DESTDIR)$(pkgdatadir)
cp '$<' '$@'
$(DESTDIR)$(bindir)/jh: jh | $(DESTDIR)$(bindir)