summaryrefslogtreecommitdiff
path: root/mk/c.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/c.mk')
-rw-r--r--mk/c.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/mk/c.mk b/mk/c.mk
index d5eead4..e75f1e2 100644
--- a/mk/c.mk
+++ b/mk/c.mk
@@ -81,9 +81,9 @@ install: subdirs-install $(INSTBIN) $(INSTLIB) $(INSTHDR) $(INSTPKG) $(EXTRAINST
done
@for i in $(INSTMAN); do \
sect="$${i##*.}"; \
- echo install -m 644 $$i $(abspath $(DESTDIR)/$(INST_ROOT)/share/man/man$${sect}); \
- mkdir -p $(abspath $(DESTDIR)/$(INST_ROOT)/share/man/man$${sect}); \
- install -m 644 $$i $(abspath $(DESTDIR)/$(INST_ROOT)/share/man/man$${sect}); \
+ echo install -m 644 $$i $(abspath $(DESTDIR)/$(INST_MAN)$${sect}); \
+ mkdir -p $(abspath $(DESTDIR)/$(INST_MAN)$${sect}); \
+ install -m 644 $$i $(abspath $(DESTDIR)/$(INST_MAN)$${sect}); \
done
subdirs-uninstall:
@@ -112,8 +112,8 @@ uninstall: subdirs-uninstall $(EXTRAUNINSTALL)
done
@for i in $(INSTMAN); do \
sect="$${i##*.}" \
- echo rm -f $$i $(abspath $(DESTDIR)/$(INST_ROOT)/share/man/man$${sect}/$$i); \
- rm -f $(abspath $(DESTDIR)/$(INST_ROOT)/share/man/man$${sect}/$$i); \
+ echo rm -f $$i $(abspath $(DESTDIR)/$(INST_MAN)$${sect}/$$i); \
+ rm -f $(abspath $(DESTDIR)/$(INST_MAN)$${sect}/$$i); \
done
%.o: %.c $(GENHDR) .deps/stamp