aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-08-30 17:56:00 +0200
committerMattias Andrée <maandree@kth.se>2021-08-30 17:56:00 +0200
commit03b18525432fdc35c924940b6955395b8650093e (patch)
treee60daaeea3398973cb1ab0f84be902c0eae8bb60 /Makefile
parentRestore terminal attributes if interrupting asroot prompt (diff)
downloadeditasroot-1.0.tar.gz
editasroot-1.0.tar.bz2
editasroot-1.0.tar.xz
Add README and editasroot.81.0
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3b51433..eff2603 100644
--- a/Makefile
+++ b/Makefile
@@ -24,12 +24,13 @@ install: editasroot copier
mkdir -p -- "$(DESTDIR)$(LIBEXECDIR)"
mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man8/"
cp -- editasroot "$(DESTDIR)$(PREFIX)/bin/"
- cp -- editasroot.1 "$(DESTDIR)$(MANPREFIX)/man8/"
+ cp -- editasroot.8 "$(DESTDIR)$(MANPREFIX)/man8/"
cp -- copier "$(DESTDIR)$(LIBEXECDIR)/"
uninstall:
-rm -f -- "$(DESTDIR)$(PREFIX)/bin/editasroot"
- -rm -f -- "$(DESTDIR)$(LIBEXECDIR)/editasroot-copier"
+ -rm -f -- "$(DESTDIR)$(LIBEXECDIR)/copier"
+ -rmdir -- "$(DESTDIR)$(LIBEXECDIR)"
-rm -f -- "$(DESTDIR)$(MANPREFIX)/man8/editasroot.8"
clean: