aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-08-28 14:02:56 -0300
committerEuAndreh <eu@euandre.org>2021-08-28 14:02:56 -0300
commit8af86a8013d85496aaa7a10862ebdd7cd6a3e679 (patch)
tree406c13adee021b2310d2a7beb8636a5d7664e441 /Makefile
parentMakefile: Use empty line break to separate sections (diff)
downloadgit-permalink-8af86a8013d85496aaa7a10862ebdd7cd6a3e679.tar.gz
git-permalink-8af86a8013d85496aaa7a10862ebdd7cd6a3e679.tar.xz
Makefile: Put "install"/"uninstall" at the end
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 3b24c0b..c949bd1 100644
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,10 @@ check: all
sh tests/cli-opts.sh
sh tests/remotes.sh
+clean:
+ rm -rf public/ $(manpages) README.*.md CHANGELOG.*.md messages.mo \
+ src/git-permalink tests/destdirs/ tests/prefix/ tests/remotes/
+
install: all
mkdir -p '$(DESTDIR)$(PREFIX)/bin'
cp src/git-permalink '$(DESTDIR)$(PREFIX)/bin'
@@ -39,10 +43,6 @@ uninstall:
rm -f '$(DESTDIR)$(PREFIX)/bin/git-permalink'
sh doc/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