summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJinWang An <jinwang.an@samsung.com>2022-12-26 13:14:06 +0900
committerJinWang An <jinwang.an@samsung.com>2022-12-26 13:14:06 +0900
commite53b870e7ffdd386ebfddb28bc7bb04e97cb1fe1 (patch)
treed3febf06e1201a4c4bc761a206e737c0b9910430 /Makefile
parent2ef22f8616f1294d54a65fba87915038816252d8 (diff)
downloaddosfstools-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--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 6936fdf..09e7df2 100644
--- a/Makefile
+++ b/Makefile
@@ -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