Группа :: Работа с текстами
Пакет: global
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: global-5.9.2-fix-DESTDIR.patch
Скачать
Скачать
diff --git a/global/htags/Makefile.am b/global/htags/Makefile.am
index 84410e9..d7d1a7d 100644
--- a/global/htags/Makefile.am
+++ b/global/htags/Makefile.am
@@ -33,7 +33,7 @@ gtags_DATA = global.cgi.tmpl ghtml.cgi.tmpl completion.cgi.tmpl bless.sh.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"; \
+ dir="$(DESTDIR)/$(localstatedir)/gtags/sitekeys"; \
if [ ! -d $$dir ]; then \
$(MKDIR_P) $$dir; \
chmod 755 $$dir; \
diff --git a/global/htags/Makefile.in b/global/htags/Makefile.in
index e8ff8cf..459b503 100644
--- a/global/htags/Makefile.in
+++ b/global/htags/Makefile.in
@@ -672,7 +672,7 @@ uninstall-man: uninstall-man1
uninstall-man1
install-data-hook:
- dir="$(localstatedir)/gtags/sitekeys"; \
+ dir="$(DESTDIR)/$(localstatedir)/gtags/sitekeys"; \
if [ ! -d $$dir ]; then \
$(MKDIR_P) $$dir; \
chmod 755 $$dir; \