aboutsummaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorcourant2001-04-25 07:35:06 +0000
committercourant2001-04-25 07:35:06 +0000
commitb002b817ce305be3ba753dc1634a01b008b243bd (patch)
tree2fbb47a2bde23b7215ef621c1ed239c48dbd1e04 /distrib
parentcccea9817f1d638be94da0cc7912e92b833b1ac8 (diff)
- Ajout pages de man pour coqc, coqtop, coqtop.opt et coqtop.byte
- Deplacement pages de tools/ vers man/ - Modif distrib/Makefile pour Debian - Modif mode emacs pour Debian git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1710 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'distrib')
-rw-r--r--distrib/Makefile13
-rw-r--r--distrib/debian/coq.emacsen-startup5
-rwxr-xr-xdistrib/debian/rules2
3 files changed, 12 insertions, 8 deletions
diff --git a/distrib/Makefile b/distrib/Makefile
index 255e1572d0..9fa9044e9a 100644
--- a/distrib/Makefile
+++ b/distrib/Makefile
@@ -262,10 +262,9 @@ patch-ftp-install: prep-ftp-install
cp patch-${VERSION}-$(PREVIOUSVERSION).gz ${FTPDIR}/V${VERSION}/
chmod g+w ${FTPDIR}/V${VERSION}/patch-${VERSION}-$(PREVIOUSVERSION).gz
-deb:
- rm -rf ../debian ../../coq-7.0.0.orig ../../coq_7.0.0_* ../../coq_7.0.0.*
- cd ../.. ; cp -a coq-7.0.0 coq-7.0.0.orig
- cp -a debian ..
- cd .. ; dpkg-buildpackage -rfakeroot -uc -us
-# rm -rf ../debian
-
+deb: ${COQPACKAGE}.tar.gz
+ tar xzf ${COQPACKAGE}.tar.gz
+ mv ${COQPACKAGE} ${COQPACKAGE}.orig
+ tar xzf ${COQPACKAGE}.tar.gz
+ cd ${COQPACKAGE} ; cp -a distrib/debian .
+ cd ${COQPACKAGE} ; dpkg-buildpackage -rfakeroot -uc -us
diff --git a/distrib/debian/coq.emacsen-startup b/distrib/debian/coq.emacsen-startup
index d1369ae6cb..d5cd0ae1f7 100644
--- a/distrib/debian/coq.emacsen-startup
+++ b/distrib/debian/coq.emacsen-startup
@@ -11,8 +11,13 @@
;; xemacs19, emacs20, xemacs20...). The compiled code is then
;; installed in a subdirectory of the respective site-lisp directory.
;; We have to add this to the load-path:
+
(setq load-path (cons (concat "/usr/share/"
(symbol-name flavor)
"/site-lisp/coq") load-path))
+(autoload 'coq-mode "coq" "Coq major mode" t)
+(setq-default auto-mode-alist
+ (cons '("\\.v" . coq-mode)
+ auto-mode-alist))
diff --git a/distrib/debian/rules b/distrib/debian/rules
index 06927dc3fa..2dbe6b1dda 100755
--- a/distrib/debian/rules
+++ b/distrib/debian/rules
@@ -12,7 +12,7 @@ configure: configure-stamp
configure-stamp:
dh_testdir
# Add here commands to configure the package.
- ./configure --prefix /usr --mandir /usr/share/man --emacslib /usr/share/emacs/site-lisp
+ ./configure --prefix /usr --mandir /usr/share/man --emacslib /usr/share/emacs/site-lisp/coq
touch configure-stamp