Index: gap-autpgrp-1.5/doc/make_doc
===================================================================
--- gap-autpgrp-1.5.orig/doc/make_doc	2016-04-08 23:37:10.099893659 +0200
+++ gap-autpgrp-1.5/doc/make_doc	2016-04-09 00:38:39.163598469 +0200
@@ -10,13 +10,14 @@
 ##  and etc/convert.pl) documentation for the AutPGrp Package.
 ##
 
+set -e
 echo "TeXing documentation"
 # TeX the manual
 tex manual
 # when there's a bibliography uncomment next line
 #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 +28,7 @@
 # The HTML version of the manual
 mkdir -p ../htm
 echo "Creating HTML documentation"
-../../../etc/convert.pl -c -n AutPGrp . ../htm
+GAP_CONVERT_DATE="Februar 2010" /usr/share/gap/etc/convert.pl -c -n AutPGrp . ../htm
 
 #########################################################################
 ##
Index: gap-autpgrp-1.5/doc/manual.tex
===================================================================
--- gap-autpgrp-1.5.orig/doc/manual.tex	2016-04-08 23:37:10.099893659 +0200
+++ gap-autpgrp-1.5/doc/manual.tex	2016-04-08 23:37:12.635946487 +0200
@@ -7,7 +7,7 @@
 %%
 %F  gapmacro . . . . . . . . . . . . . . . . . read the GAP macro package
 %%
-\input ../../../doc/gapmacro
+\input /usr/share/gap/etc/gapmacro
 \Package{AutPGrp}
 %
 %
@@ -22,7 +22,6 @@
 %%
 %F  UseReferences . . . . . . . . . . . . . . . . . .  specify references
 %%
-\UseReferences{../../../doc/ext}
 \UseReferences{../../../doc/ref}
 %
 %
