As is, htags/Makefile.am ignores DESTDIR. This patch corrects that.
jer--- a/htags/Makefile.am 2010-08-30 14:19:04.000000000 +0200
+++ b/htags/Makefile.am 2010-09-01 15:19:14.000000000 +0200
@@ -27,14 +27,8 @@
man_MANS = htags.1
-gtagsdir = ${datadir}/gtags
+gtagsdir = ${localstatedir}/gtags
gtags_DATA = global.cgi.tmpl ghtml.cgi.tmpl completion.cgi.tmpl bless.sh.tmpl \
jscode_suggest.tmpl jscode_treeview.tmpl style.css.tmpl
EXTRA_DIST = $(man_MANS) $(gtags_DATA) manual.in global.cgi.tmpl.in completion.cgi.tmpl.in \
const.h c.l cpp.l java.l php.l asm.l
-install-data-hook:
- dir="$(localstatedir)/gtags/sitekeys"; \
- if [ ! -d $$dir ]; then \
- $(MKDIR_P) $$dir; \
- chmod 755 $$dir; \
- fi
_______________________________________________
Bug-global mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-global