Index: gap-radiroot-2.7/doc/make_doc
===================================================================
--- gap-radiroot-2.7.orig/doc/make_doc	2016-04-25 00:22:21.853314127 +0200
+++ gap-radiroot-2.7/doc/make_doc	2016-04-26 21:54:40.653928764 +0200
@@ -16,7 +16,7 @@
 # ... and build its bibliography (uncomment if there is no `manual.bib')
 bibtex manual
 # TeX the manual again to incorporate the ToC ... and build the index
-tex manual; ../../../doc/manualindex manual
+tex manual; /usr/share/gap/etc/manualindex manual
 # Finally TeX the manual again to get cross-references right
 tex manual
 # Create the PostScript version (uncomment next line, if needed)
@@ -27,7 +27,7 @@
 # The HTML version of the manual
 mkdir -p ../htm
 echo "Creating HTML documentation"
-../../../etc/convert.pl -t -c -u -n Radiroot . ../htm
+/usr/share/gap/etc/convert.pl -t -c -u -n Radiroot . ../htm
 
 #############################################################################
 ##
Index: gap-radiroot-2.7/doc/manual.tex
===================================================================
--- gap-radiroot-2.7.orig/doc/manual.tex	2016-04-25 00:22:21.853314127 +0200
+++ gap-radiroot-2.7/doc/manual.tex	2016-04-26 21:53:51.213088792 +0200
@@ -9,7 +9,7 @@
 %%
 %F  gapmacro . . . . . . . . . . . . . . . . . read the GAP macro package
 %%
-\input ../../../doc/gapmacro
+\input /usr/share/gap/etc/gapmacro
 \Package{Radiroot}    %This defines {\Radiroot} . . see "ext:The Main File"
 \Package{Alnuth}    %This defines {\Alnuth} . . see "ext:The Main File"
 %
@@ -27,7 +27,7 @@
 %%
 %\UseReferences{../../../doc/ext}
 \UseGapDocReferences{../../../doc/ref}
-\UseGapDocReferences{../../gapdoc/doc}  %Refs to a GAPDoc-produced manual
+%\UseGapDocReferences{../../GAPDoc/doc}  %Refs to a GAPDoc-produced manual
 %
 %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -65,7 +65,7 @@
 \FrontMatter
 %The following is needed if there are
 %\cite commands and a `manual.bib' file
-\immediate\write\citeout{\bs bibdata{./manual,../../../doc/manual}}
+\immediate\write\citeout{\bs bibdata{./manual,/usr/share/gap/doc/manualbib.xml.bib}}
 %
 %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
