diff options
| author | courant | 2001-04-24 15:07:41 +0000 |
|---|---|---|
| committer | courant | 2001-04-24 15:07:41 +0000 |
| commit | 816ae8c64624eee082a54c04b1f4e72e3426d265 (patch) | |
| tree | 3db7cdc4ba93f8d503024e31d4c2d98f88d95ae3 /distrib/debian/rules | |
| parent | 45e4cf2a722a3f9d43ddc0ed35b17e01a03c2006 (diff) | |
ajout necessaire pour paquet debian
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1688 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'distrib/debian/rules')
| -rwxr-xr-x | distrib/debian/rules | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/distrib/debian/rules b/distrib/debian/rules new file mode 100755 index 0000000000..06927dc3fa --- /dev/null +++ b/distrib/debian/rules @@ -0,0 +1,85 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. +export DH_COMPAT=2 + +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 + + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + $(MAKE) -j world + #/usr/bin/docbook-to-man debian/coq.sgml > coq.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + -$(MAKE) archclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/coq. + $(MAKE) install COQINSTALLPREFIX=$(CURDIR)/debian/coq + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs +# dh_installexamples +# dh_installmenu +# dh_installlogrotate + dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installman coqtop.byte coqtop.opt coqtop coqc coqmktop +# dh_installinfo +# dh_undocumented + dh_installchangelogs CHANGES + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure |
