summaryrefslogtreecommitdiffstats
path: root/gettext-tools/man/Makefile.msvc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-04-14 13:46:45 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:10:22 +0200
commit8c8744b53e0c86658cb073fb98fe90cef1108528 (patch)
tree8d837ae1831c793123a736dc9b6c900821625043 /gettext-tools/man/Makefile.msvc
parent17033c5031fc479051719c2209f4bc0bfa3b9d08 (diff)
downloadexternal_gettext-8c8744b53e0c86658cb073fb98fe90cef1108528.zip
external_gettext-8c8744b53e0c86658cb073fb98fe90cef1108528.tar.gz
external_gettext-8c8744b53e0c86658cb073fb98fe90cef1108528.tar.bz2
Compute $(mandir) and $(docdir) based on $(datadir), not on $(prefix).
Diffstat (limited to 'gettext-tools/man/Makefile.msvc')
-rw-r--r--gettext-tools/man/Makefile.msvc11
1 files changed, 7 insertions, 4 deletions
diff --git a/gettext-tools/man/Makefile.msvc b/gettext-tools/man/Makefile.msvc
index 138a6b7..de0120a 100644
--- a/gettext-tools/man/Makefile.msvc
+++ b/gettext-tools/man/Makefile.msvc
@@ -10,9 +10,10 @@ PREFIX = c:\usr
# Directories used by "make install":
prefix = $(PREFIX)
-mandir = $(prefix)\man
+datadir = $(prefix)\share
+mandir = $(datadir)\man
man1dir = $(mandir)\man1
-docdir = $(prefix)\doc\gettext
+docdir = $(datadir)\doc\gettext
LN = copy
RM = -del
@@ -30,6 +31,7 @@ all :
install : all force
-mkdir $(prefix)
+ -mkdir $(datadir)
-mkdir $(mandir)
-mkdir $(man1dir)
$(INSTALL_DATA) msgcmp.1 $(man1dir)\msgcmp.1
@@ -47,7 +49,7 @@ install : all force
$(INSTALL_DATA) msggrep.1 $(man1dir)\msggrep.1
$(INSTALL_DATA) msginit.1 $(man1dir)\msginit.1
$(INSTALL_DATA) msguniq.1 $(man1dir)\msguniq.1
- -mkdir $(prefix)\doc
+ -mkdir $(datadir)\doc
-mkdir $(docdir)
$(INSTALL_DATA) msgcmp.1.html $(docdir)\msgcmp.1.html
$(INSTALL_DATA) msgfmt.1.html $(docdir)\msgfmt.1.html
@@ -67,9 +69,10 @@ install : all force
installdirs : force
-mkdir $(prefix)
+ -mkdir $(datadir)
-mkdir $(mandir)
-mkdir $(man1dir)
- -mkdir $(prefix)\doc
+ -mkdir $(datadir)\doc
-mkdir $(docdir)
uninstall : force