Skip to content

Commit b87e595

Browse files
committed
Also remove the .../share/ruby-install directory.
1 parent 298b94e commit b87e595

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ PKG=$(PKG_DIR)/$(PKG_NAME).tar.gz
1515
SIG=$(PKG_DIR)/$(PKG_NAME).asc
1616

1717
PREFIX?=/usr/local
18-
DOC_DIR=$(PREFIX)/share/doc/$(PKG_NAME)
18+
SHARE_DIR=$(PREFIX)/share
19+
DOC_DIR=$(SHARE_DIR)/doc/$(PKG_NAME)
1920

2021
all:
2122

@@ -74,5 +75,6 @@ install:
7475
uninstall:
7576
for file in $(INSTALL_FILES); do rm -f $(DESTDIR)$(PREFIX)/$$file; done
7677
rm -rf $(DESTDIR)$(DOC_DIR)
78+
rmdir $(DESTDIR)$(SHARE_DIR)
7779

7880
.PHONY: build man download sign verify clean check test tag release rpm install uninstall all

0 commit comments

Comments
 (0)