[anjuta] project-wizard: Use dist_doc_DATA for documentation text files



commit 366d8e81e7c88e369e1659d0426f31b5e153f240
Author: Arnel A. Borja <kyoushuu yahoo com>
Date:   Sat Mar 23 11:09:07 2013 +0800

    project-wizard: Use dist_doc_DATA for documentation text files
    
    Use dist_doc_DATA in the terminal template.

 .../project-wizard/templates/terminal/Makefile.am.tpl | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)
---
diff --git a/plugins/project-wizard/templates/terminal/Makefile.am.tpl 
b/plugins/project-wizard/templates/terminal/Makefile.am.tpl
index b8990e4..be4c9ed 100644
--- a/plugins/project-wizard/templates/terminal/Makefile.am.tpl
+++ b/plugins/project-wizard/templates/terminal/Makefile.am.tpl
@@ -4,13 +4,12 @@
 
 SUBDIRS = src [+IF (=(get "HaveI18n") "1") +]po[+ENDIF+]
 
-[+NameCLower+]docdir = ${prefix}/doc/[+NameHLower+]
-[+NameCLower+]doc_DATA = \
-       README\
-       COPYING\
-       AUTHORS\
-       ChangeLog\
-       INSTALL\
+dist_doc_DATA = \
+       README \
+       COPYING \
+       AUTHORS \
+       ChangeLog \
+       INSTALL \
        NEWS
 
 [+IF (=(get "HaveI18n") "1") +]
@@ -18,17 +17,15 @@ INTLTOOL_FILES = intltool-extract.in \
        intltool-merge.in \
        intltool-update.in
 
-EXTRA_DIST = $([+NameCLower+]doc_DATA) \
+EXTRA_DIST = \
        $(INTLTOOL_FILES)
 
 DISTCLEANFILES = intltool-extract \
        intltool-merge \
        intltool-update \
        po/.intltool-merge-cache
-[+ELSE+]
-EXTRA_DIST = $([+NameCLower+]doc_DATA)
 [+ENDIF+]
 
 # Remove doc directory on uninstall
 uninstall-local:
-       -rm -r $([+NameCLower+]docdir)
+       -rm -r $(docdir)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]