OSDN Git Service

Split install into -main, -man, -man-ja [nkf-bug#34250]
[nkf/nkf.git] / Makefile
index f27396d..e66b30c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -43,14 +43,20 @@ python3:
        ( cd NKF.python3 ; \
        $(PYTHON3) setup.py build )
 
-install:
+install: install-main install-man install-man-ja
+
+install-main:
        -$(MKDIR) $(prefix)/bin
+       cp -f nkf $(prefix)/bin/
+
+install-man:
        -$(MKDIR) $(prefix)/man
        -$(MKDIR) $(prefix)/man/man1
+       cp -f nkf.1 $(prefix)/man/man1/
+
+install-man-ja:
        -$(MKDIR) $(prefix)/man/ja
        -$(MKDIR) $(prefix)/man/ja/man1
-       cp -f nkf $(prefix)/bin/
-       cp -f nkf.1 $(prefix)/man/man1/
        cp -f nkf.1j $(prefix)/man/ja/man1/nkf.1
 
 shar: