Index: share/Makefile
===================================================================
--- share/Makefile	(revision 519eaf508529829bbfe93c12c3e94f44afccf5ed)
+++ share/Makefile	(revision c03f8a55bd64219f62cbaf31130a731e5f6b083d)
@@ -16,5 +16,13 @@
 
 .PHONY: install
-install:
+install: install-grammar install-dictionaries
+
+.PHONY: install-grammar
+install-grammar:
+	install -m 0644 gram.dgp $(LANG_DIR)
+	install -m 0644 gram.dgc $(LANG_DIR)
+
+.PHONY: install-dictionaries
+install-dictionaries:
 ifdef LANG_DIR
 	install -d $(LANG_DIR)/pl_PL.ISO-8859-2
@@ -27,6 +35,4 @@
 	install -m 0644 pl_PL.ISO-8859-2/pl_PL.ISO-8859-2.sym $(LANG_DIR)/pl_PL.ISO-8859-2
 	install -m 0644 pl_PL.UTF-8/lem.bin $(LANG_DIR)/pl_PL.UTF-8
-	install -m 0644 gram.dgp $(LANG_DIR)
-	install -m 0644 gram.dgc $(LANG_DIR)
 	install -m 0644 weights.kor $(LANG_DIR)
 endif
