Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37601827
en ru br
Репозитории ALT
S:2.3.2-alt1
5.1: 0.14.3-alt2
4.1: 0.12.1-alt1.1
www.altlinux.org/Changes

Группа :: Development/Tools
Пакет: stgit

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: stgit-alt-makefile-install_man_pages.patch
Скачать


diff --git a/stgit/Documentation/Makefile b/stgit/Documentation/Makefile
index 2e5d23c..3f4b458 100644
--- a/stgit/Documentation/Makefile
+++ b/stgit/Documentation/Makefile
@@ -14,7 +14,7 @@ DOC_MAN1=$(patsubst %.txt,%.1,$(MAN1_TXT))
 DOC_MAN7=$(patsubst %.txt,%.7,$(MAN7_TXT))
 
-prefix?=$(HOME)
-mandir?=$(prefix)/man
+prefix?=/usr
+mandir?=$(prefix)/share/man
 man1dir=$(mandir)/man1
 man7dir=$(mandir)/man7
 # DESTDIR=
@@ -46,7 +46,6 @@ man7: $(DOC_MAN7)
 install: man
 	$(INSTALL) -d -m755 $(DESTDIR)$(man1dir) $(DESTDIR)$(man7dir)
 	$(INSTALL) -m644 $(DOC_MAN1) $(DESTDIR)$(man1dir)
-	$(INSTALL) -m644 $(DOC_MAN7) $(DESTDIR)$(man7dir)
 #
 # Determine "include::" file references in asciidoc files.
 #
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin