Index: gap-transgrp-3.6.2/doc/make_doc
===================================================================
--- gap-transgrp-3.6.2.orig/doc/make_doc
+++ gap-transgrp-3.6.2/doc/make_doc
@@ -17,7 +17,7 @@ echo "TeXing documentation"
 tex manual
 bibtex manual
 # TeX the manual again to incorporate the ToC ... and build the index
-tex manual; ./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)
@@ -28,7 +28,7 @@ pdftex manual; pdftex manual
 # The HTML version of the manual
 mkdir -p ../htm
 echo "Creating HTML documentation"
-./convert.pl -t -c -n transgrp . ../htm
+GAP_CONVERT_DATE="February 2022" /usr/share/gap/etc/convert.pl -t -c -n transgrp . ../htm
 
 #############################################################################
 ##
Index: gap-transgrp-3.6.2/doc/manual.tex
===================================================================
--- gap-transgrp-3.6.2.orig/doc/manual.tex
+++ gap-transgrp-3.6.2/doc/manual.tex
@@ -9,7 +9,7 @@
 %%
 %F  gapmacro . . . . . . . . . . . . . . . .  read the GAP macro package
 %%
-\input gapmacro
+\input /usr/share/gap/etc/gapmacro
 %
 %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
