From 794a2980d030c6d353df6b3f2e4a7aad9f37d539 Mon Sep 17 00:00:00 2001 From: rich Date: Sat, 8 Nov 2003 11:52:03 +0000 Subject: [PATCH] 'make dpkg' seems to work. --- Makefile | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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. -- 1.8.3.1