Исправлены пути к документации при сборке пакетов

This commit is contained in:
Sergey Kalinin 2019-09-30 14:01:30 +03:00
parent 21b0eba188
commit bf93de925a
2 changed files with 2 additions and 0 deletions

1
debian/install vendored
View File

@ -3,3 +3,4 @@ lib/*.tcl /usr/share/rac-gui/lib
rac_gui.cfg /usr/share/rac-gui/
rac_gui.png /usr/share/rac-gui/
lib/msg/* /usr/share/rac-gui/lib/msg
doc/racgui_manual.txt /usr/share/doc/rac-gui

View File

@ -25,6 +25,7 @@ mkdir -p $RPM_BUILD_ROOT{%_bindir,%_datadir/%name/lib/msg}
install -p -m755 rac_gui.tcl $RPM_BUILD_ROOT%_bindir/racgui
%{__sed} -i 's+^set\ dir(lib)+set\ dir(lib)\ %_datadir/%name/lib ;#+g' $RPM_BUILD_ROOT%_bindir/racgui
%{__sed} -i 's+\[pwd\]+%_datadir/%name+g' $RPM_BUILD_ROOT%_bindir/racgui
%{__sed} -i 's+^set\ dir(doc)+set\ dir(doc)\ %_docdir/%name ;#+g' $RPM_BUILD_ROOT%_bindir/racgui
install -p -m644 lib/*.tcl $RPM_BUILD_ROOT%_datadir/%name/lib
install -p -m644 rac_gui.cfg $RPM_BUILD_ROOT%_datadir/%name/
install -p -m644 lib/msg/*.* $RPM_BUILD_ROOT%_datadir/%name/lib/msg/