SF.net SVN: geany-plugins:[430] trunk/spellcheck

eht16 at users.sourceforge.net eht16 at xxxxx
Mon Feb 2 20:29:37 UTC 2009


Revision: 430
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=430&view=rev
Author:   eht16
Date:     2009-02-02 20:29:37 +0000 (Mon, 02 Feb 2009)

Log Message:
-----------
Install documentation files into the geany-plugins doc dir.

Modified Paths:
--------------
    trunk/spellcheck/ChangeLog
    trunk/spellcheck/Makefile.am
    trunk/spellcheck/configure.in

Modified: trunk/spellcheck/ChangeLog
===================================================================
--- trunk/spellcheck/ChangeLog	2009-02-02 20:19:27 UTC (rev 429)
+++ trunk/spellcheck/ChangeLog	2009-02-02 20:29:37 UTC (rev 430)
@@ -1,3 +1,9 @@
+2009-02-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
+
+ * configure.in, Makefile.am:
+   Install documentation files into the geany-plugins doc dir.
+
+
 2009-01-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
 
  * src/gui.c:

Modified: trunk/spellcheck/Makefile.am
===================================================================
--- trunk/spellcheck/Makefile.am	2009-02-02 20:19:27 UTC (rev 429)
+++ trunk/spellcheck/Makefile.am	2009-02-02 20:29:37 UTC (rev 430)
@@ -1,6 +1,8 @@
 
 SUBDIRS = src po
 
+DOCDIR = $(DESTDIR)$(docdir)
+
 EXTRA_DIST =				\
 	autogen.sh				\
 	makefile.win32			\
@@ -18,3 +20,12 @@
 
 html:
 	rst2html README index.html
+
+install-data-local:
+	$(mkinstalldirs) $(DOCDIR)
+	$(INSTALL_DATA) $(top_srcdir)/README $(DOCDIR)
+	$(INSTALL_DATA) $(top_srcdir)/ChangeLog $(DOCDIR)
+	$(INSTALL_DATA) $(top_srcdir)/NEWS $(DOCDIR)
+	$(INSTALL_DATA) $(top_srcdir)/COPYING $(DOCDIR)
+	$(INSTALL_DATA) $(top_srcdir)/AUTHORS $(DOCDIR)
+

Modified: trunk/spellcheck/configure.in
===================================================================
--- trunk/spellcheck/configure.in	2009-02-02 20:19:27 UTC (rev 429)
+++ trunk/spellcheck/configure.in	2009-02-02 20:29:37 UTC (rev 430)
@@ -48,8 +48,9 @@
 fi
 
 # get the plugin installed at the correct location for Geany
-# TODO find a way to NOT override --libdir command line option if given
+# TODO find a way to NOT override --libdir/--docdir command line option if given
 libdir="`$PKG_CONFIG --variable=libdir geany`/geany"
+docdir="${datarootdir}/doc/geany-plugins/${PACKAGE}"
 
 
 AC_OUTPUT([


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Plugins-Commits mailing list