Skip to content
Snippets Groups Projects
Commit c0d0f805 authored by Richard Hartmann's avatar Richard Hartmann
Browse files

Makefile: Avoid calling `dirname`

parent 024b65aa
No related branches found
No related tags found
No related merge requests found
PREFIX=/usr
DOCDIR=$(PREFIX)/share/doc/$(self)
DOCDIR_PREFIX=$(PREFIX)/share/doc
DOCDIR=$(DOCDIR_PREFIX)/$(self)
ZSHDIR=$(PREFIX)/share/zsh/vendor-completions
RONN ?= ronn
......@@ -39,7 +40,7 @@ uninstall:
purge: uninstall
rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(PREFIX)/bin/
rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(PREFIX)/share/man/man1/
rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(shell dirname $(DOCDIR))
rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(DOCDIR_PREFIX)
rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(ZSHDIR)
test:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment