aboutsummaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
Diffstat (limited to 'distrib')
-rw-r--r--distrib/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/distrib/Makefile b/distrib/Makefile
index 88f870a478..0bb793b5bf 100644
--- a/distrib/Makefile
+++ b/distrib/Makefile
@@ -1,6 +1,6 @@
# Building the different files of the coq distribution
-include config.distrib
+sinclude config.distrib
LOCALARCH=`uname -m`
ARCH=`uname -m | sed -e 's/i.86/i386/'`
SYSTEM=`uname -s`
@@ -41,6 +41,7 @@ noarguments:
@echo "make arch-rpm-ftp-install |repository supposed"
@echo "make arch-tar-gz-ftp-install |to be already"
@echo "make contrib-ftp-install |prepared"
+ @echo "make deb to build a debian package"
################## Main targets
@@ -259,3 +260,8 @@ contrib-ftp-install: prep-ftp-install
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
+ cp -a debian ..
+ cd .. ; dpkg-buildpackage -rfakeroot -uc -us