Priority: optional
 Maintainer: Enrico Tassi <gareuselesinge@debian.org>
 Uploaders: Stefano Zacchiroli <zack@debian.org>
-Build-Depends: ocaml (>= 3.10.0), ocaml-findlib, libgdome2-ocaml-dev, liblablgtk2-ocaml-dev, liblablgtkmathview-ocaml-dev, liblablgtksourceview-ocaml-dev, libsqlite3-ocaml-dev, libocamlnet-ocaml-dev, libzip-ocaml-dev, libhttp-ocaml-dev, ocaml-ulex08, libexpat-ocaml-dev, debhelper, cdbs, libmysql-ocaml-dev, camlp5, dpatch, imagemagick
+Build-Depends: ocaml (>= 3.10.0), ocaml-findlib, libgdome2-ocaml-dev, liblablgtk2-ocaml-dev, liblablgtkmathview-ocaml-dev, liblablgtksourceview-ocaml-dev, libsqlite3-ocaml-dev, libocamlnet-ocaml-dev, libzip-ocaml-dev, libhttp-ocaml-dev, ocaml-ulex08, libexpat-ocaml-dev, debhelper, cdbs, libmysql-ocaml-dev, camlp5, dpatch, help2man
 Standards-Version: 3.7.2
 XS-Vcs-Svn: svn://mowgli.cs.unibo.it/trunk/helm/software/pkg-matita/trunk/
 XS-Vcs-Browser: http://helm.cs.unibo.it/websvn/listing.php?path=/trunk/helm/software/pkg-matita/trunk/
 
        make install-arch DESTDIR=$(DEB_DESTDIR)
        mkdir -p $(DEB_DESTDIR)/usr/share/man/man1/
        help2man --name="Matita interative theorem prover" -N \
-               $(DEB_DESTDIR)/usr/bin/matita \
+               $(DEB_DESTDIR)/usr/share/matita/matita \
                | gzip -9 > $(DEB_DESTDIR)/usr/share/man/man1/matita.1.gz
        help2man --name="Matita interative theorem prover - batch compiler" -N \
-               $(DEB_DESTDIR)/usr/bin/matitac \
+               $(DEB_DESTDIR)/usr/share/matita/matitac \
                | gzip -9 > $(DEB_DESTDIR)/usr/share/man/man1/matitac.1.gz
        help2man --name="Matita interative theorem prover - build tool" -N \
-               $(DEB_DESTDIR)/usr/bin/matitamake \
+               $(DEB_DESTDIR)/usr/share/matita/matitamake \
                | gzip -9 > $(DEB_DESTDIR)/usr/share/man/man1/matitamake.1.gz
        help2man --name="Matita interative theorem prover - cleanup tool" -N \
-               $(DEB_DESTDIR)/usr/bin/matitaclean \
+               $(DEB_DESTDIR)/usr/share/matita/matitaclean \
                | gzip -9 > $(DEB_DESTDIR)/usr/share/man/man1/matitaclean.1.gz
-       help2man --name="Matita interative theorem prover - CIC browser" -N \
-               $(DEB_DESTDIR)/usr/bin/cicbrowser \
-               | gzip -9 > $(DEB_DESTDIR)/usr/share/man/man1/cicbrowser.1.gz
        help2man --name="Matita interative theorem prover - dependency analyzer" -N \
-               $(DEB_DESTDIR)/usr/bin/matitadep \
+               $(DEB_DESTDIR)/usr/share/matita/matitadep \
                | gzip -9 > $(DEB_DESTDIR)/usr/share/man/man1/matitadep.1.gz
-       if [ -e  $(DEB_DESTDIR)/usr/bin/matita.opt ]; then\
-               for P in  $(DEB_DESTDIR)/usr/bin/*.opt; do\
+       if [ -e  $(DEB_DESTDIR)/usr/share/matita/matita.opt ]; then\
+               for P in  $(DEB_DESTDIR)/usr/share/matita/*.opt; do\
                        ln -s /usr/share/man/man1/$(basename $$P .opt).1.gz \
                        $(DEB_DESTDIR)/usr/share/man/man1/$(basename $$P).1.gz\
                done\