From: rich Date: Sat, 8 Nov 2003 11:52:03 +0000 (+0000) Subject: 'make dpkg' seems to work. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=794a2980d030c6d353df6b3f2e4a7aad9f37d539;p=perl4caml.git 'make dpkg' seems to work. --- diff --git a/Makefile b/Makefile index bf2c3ae..fb966ad 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # Interface to Perl from OCaml. # Copyright (C) 2003 Merjis Ltd. -# $Id: Makefile,v 1.17 2003-11-08 11:36:19 rich Exp $ +# $Id: Makefile,v 1.18 2003-11-08 11:52:03 rich Exp $ include Makefile.config @@ -154,6 +154,19 @@ dpkg: echo Please commit all changes to CVS first.; \ exit 1; \ fi + $(MAKE) dist + rm -rf /tmp/dbuild + mkdir /tmp/dbuild + cp $(PACKAGE)-$(VERSION).tar.gz \ + /tmp/dbuild/$(PACKAGE)_$(VERSION).orig.tar.gz + export CVSROOT=`cat CVS/Root`; \ + cd /tmp/dbuild && \ + cvs export \ + -d $(PACKAGE)-$(VERSION) \ + -D now merjis/test/perl4caml + cd /tmp/dbuild/$(PACKAGE)-$(VERSION) && dpkg-buildpackage -rfakeroot + rm -rf /tmp/dbuild/$(PACKAGE)-$(VERSION) + ls -l /tmp/dbuild # Documentation.