Index: gap-alnuth-3.0.0/doc/make_doc
===================================================================
--- gap-alnuth-3.0.0.orig/doc/make_doc	2014-07-19 23:15:36.013663980 +0200
+++ gap-alnuth-3.0.0/doc/make_doc	2014-07-19 23:44:20.000000000 +0200
@@ -18,18 +18,18 @@
 # TeX the manual again to incorporate the ToC ... and build the index
 tex manual
 tex manual
-../../../doc/manualindex 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)
-dvips -D300 manual -o
+#dvips -D300 manual -o
 # Create PDF version
 pdftex manual; pdftex manual
 
 # The HTML version of the manual
 mkdir -p ../htm
 echo "Creating HTML documentation"
-../../../etc/convert.pl -t -c -n Alnuth . ../htm
+/usr/share/gap/etc/convert.pl -t -c -n Alnuth . ../htm
 
 #############################################################################
 ##
Index: gap-alnuth-3.0.0/doc/manual.tex
===================================================================
--- gap-alnuth-3.0.0.orig/doc/manual.tex	2014-07-19 23:15:36.013663980 +0200
+++ gap-alnuth-3.0.0/doc/manual.tex	2014-07-19 23:44:20.000000000 +0200
@@ -7,7 +7,7 @@
 %%
 %F  gapmacro . . . . . . . . . . . . . . . . . read the GAP macro package
 %%
-\input ../../../doc/gapmacro
+\input /usr/share/gap/etc/gapmacro
 \Package{Alnuth} 
 \Package{Polycyclic} 
 %
