File global-5.9.2-fix-htags-makefile.patch of Package global
Index: global-5.9.2/htags/Makefile.am
===================================================================
--- global-5.9.2.orig/htags/Makefile.am
+++ global-5.9.2/htags/Makefile.am
@@ -33,7 +33,7 @@ gtags_DATA = global.cgi.tmpl ghtml.cgi.t
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"; \
+ dir="$(DESTDIR)$(localstatedir)/gtags/sitekeys"; \
if [ ! -d $$dir ]; then \
$(MKDIR_P) $$dir; \
chmod 755 $$dir; \