diff options
author | JinWang An <jinwang.an@samsung.com> | 2022-12-26 13:14:06 +0900 |
---|---|---|
committer | JinWang An <jinwang.an@samsung.com> | 2022-12-26 13:14:06 +0900 |
commit | e53b870e7ffdd386ebfddb28bc7bb04e97cb1fe1 (patch) | |
tree | d3febf06e1201a4c4bc761a206e737c0b9910430 /Makefile | |
parent | 2ef22f8616f1294d54a65fba87915038816252d8 (diff) | |
download | dosfstools-e53b870e7ffdd386ebfddb28bc7bb04e97cb1fe1.tar.gz dosfstools-e53b870e7ffdd386ebfddb28bc7bb04e97cb1fe1.tar.bz2 dosfstools-e53b870e7ffdd386ebfddb28bc7bb04e97cb1fe1.zip |
Imported Upstream version 3.0.21upstream/3.0.21
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -62,7 +62,7 @@ install-man: for MANPAGE in manpages/en/*; \ do \ SECTION="8"; \ - install -D -m 0644 $${MANPAGE} $(DESTDIR)/$(PREFIX)/share/man/man$${SECTION}/$$(basename $${MANPAGE}); \ + install -D -m 0644 $${MANPAGE} $(DESTDIR)/$(MANDIR)/man$${SECTION}/$$(basename $${MANPAGE}); \ done for LANGUAGE in $(LANGUAGES); \ @@ -70,10 +70,10 @@ install-man: for MANPAGE in manpages/$${LANGUAGE}/*; \ do \ SECTION="8"; \ - install -D -m 0644 $${MANPAGE} $(DESTDIR)/$(PREFIX)/share/man/$${LANGUAGE}/man$${SECTION}/$$(basename $${MANPAGE} .$${LANGUAGE}.$${SECTION}).$${SECTION}; \ + install -D -m 0644 $${MANPAGE} $(DESTDIR)/$(MANDIR)/$${LANGUAGE}/man$${SECTION}/$$(basename $${MANPAGE} .$${LANGUAGE}.$${SECTION}).$${SECTION}; \ done; \ done -install-symlinks: +install-symlinks: install-bin if [ -e $(DESTDIR)/$(SBINDIR)/fatlabel ]; \ then \ ln -sf fatlabel $(DESTDIR)/$(SBINDIR)/dosfslabel; \ @@ -138,7 +138,7 @@ uninstall-man: for MANPAGE in manpages/en/*; \ do \ SECTION="8"; \ - rm -f $(DESTDIR)/$(PREFIX)/share/man/man$${SECTION}/$$(basename $${MANPAGE} .en.$${SECTION}).$${SECTION}; \ + rm -f $(DESTDIR)/$(MANDIR}/man$${SECTION}/$$(basename $${MANPAGE} .en.$${SECTION}).$${SECTION}; \ done for LANGUAGE in $(LANGUAGES); \ @@ -146,7 +146,7 @@ uninstall-man: for MANPAGE in manpages/$${LANGUAGE}/*; \ do \ SECTION="8"; \ - rm -f $(DESTDIR)/$(PREFIX)/share/man/$${LANGUAGE}/man$${SECTION}/$$(basename $${MANPAGE} .$${LANGUAGE}.$${SECTION}).$${SECTION}; \ + rm -f $(DESTDIR)/$(MANDIR)/$${LANGUAGE}/man$${SECTION}/$$(basename $${MANPAGE} .$${LANGUAGE}.$${SECTION}).$${SECTION}; \ done; \ done |