aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-07-30 08:16:01 -0300
committerEuAndreh <eu@euandre.org>2021-07-30 08:16:01 -0300
commite9038ccc5a96496f4a843e95a9525161d9d592eb (patch)
treed6612d08755edeba09b245a3533af9617f3743c2 /Makefile
parentTODOs.md: Mark #task-ab7d98bb-7557-1891-b102-a48942d762be as DOING (diff)
downloadgit-permalink-e9038ccc5a96496f4a843e95a9525161d9d592eb.tar.gz
git-permalink-e9038ccc5a96496f4a843e95a9525161d9d592eb.tar.xz
Makefile: Make separation between canonical and personal targets clear
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile31
1 files changed, 18 insertions, 13 deletions
diff --git a/Makefile b/Makefile
index 63cb374..d268096 100644
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,24 @@ check: all
sh tests/cli-opts.sh
sh tests/remotes.sh
+install: all
+ mkdir -p $(DESTDIR)$(PREFIX)/bin
+ cp src/git-permalink $(DESTDIR)$(PREFIX)/bin
+ sh aux/workflow/manpages.sh -ip $(DESTDIR)$(MANPREFIX) $(manpages)
+
+uninstall:
+ rm -f $(DESTDIR)$(PREFIX)/bin/git-permalink
+ sh aux/workflow/manpages.sh -up $(DESTDIR)$(MANPREFIX) $(manpages)
+
+clean:
+ rm -rf public/ $(manpages) README.*.md CHANGELOG.*.md messages.mo \
+ src/git-permalink tests/destdirs/ tests/prefix/ tests/remotes/
+
+
+#
+# Personal workflow targets
+#
+
dev-check: check public
sh aux/assert-shellcheck.sh
sh aux/workflow/assert-todos.sh
@@ -41,25 +59,12 @@ dev-check: check public
$(MAKE) PREFIX=`mkdtemp` \
install installcheck uninstall uninstallcheck
-install: all
- mkdir -p $(DESTDIR)$(PREFIX)/bin
- cp src/git-permalink $(DESTDIR)$(PREFIX)/bin
- sh aux/workflow/manpages.sh -ip $(DESTDIR)$(MANPREFIX) $(manpages)
-
-uninstall:
- rm -f $(DESTDIR)$(PREFIX)/bin/git-permalink
- sh aux/workflow/manpages.sh -up $(DESTDIR)$(MANPREFIX) $(manpages)
-
installcheck:
sh aux/workflow/installcheck.sh -x1 -l1 -f5 -p $(PREFIX)
uninstallcheck:
sh aux/workflow/installcheck.sh -up $(PREFIX)
-clean:
- rm -rf public/ $(manpages) README.*.md CHANGELOG.*.md messages.mo \
- src/git-permalink tests/destdirs/ tests/prefix/ tests/remotes/
-
dist:
sh aux/workflow/dist.sh -d $(DATE) -V $(VERSION) -n $(NAME) \
-m $(MAILING_LIST)