Add headlines docs.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 04 Sep 2011 23:47:13 +0300
changeset 54 12426df26196
parent 53 c46d5a7f0b63
child 55 df348fb76746
Add headlines docs.
Makefile
--- a/Makefile	Sun Sep 04 23:43:24 2011 +0300
+++ b/Makefile	Sun Sep 04 23:47:13 2011 +0300
@@ -8,7 +8,8 @@
 #   install-local-symlink create symlink from installed dir to user HOME dir, so dictionaries been available in stardict
 #   uninstall-local-symlink remove symlink from user HOME directory
 
-DICTNAME_PREFIX = gadict
+################################################################
+# Install paths.
 
 ifeq '$(origin prefix)' 'undefined'
   ifeq '$(shell id -u)' '0'
@@ -20,11 +21,16 @@
 datarootdir = $(prefix)/share
 datadir = $(datarootdir)/dictd
 
+################################################################
+# Project files.
+
 C5_FILES := $(wildcard *.dict-c5)
 DICT_FILES := $(C5_FILES:.dict-c5=.dict)
 DICTDZ_FILES := $(C5_FILES:.dict-c5=.dict.dz)
 INDEX_FILES := $(C5_FILES:.dict-c5=.index)
 
+################################################################
+# Build targets.
 
 .PHONY: all
 all: dist
@@ -44,6 +50,9 @@
 %.dict.dz: %.dict
 	dictzip -c $< >$@
 
+################################################################
+# Install/uninstall targets.
+
 .PHONY: install
 install: dist
 	mkdir -p $(datadir)
@@ -57,6 +66,9 @@
 		rm -f $(datadir)/$$f; \
 	done
 
+################################################################
+# Clean targets.
+
 .PHONY: distclean
 distclean: clean