public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Stefhen Hovland <stefhen.hovland@gmail•com>
To: git@vger•kernel.org
Subject: [PATCH][COGITO] Add .deb build support to Makefile
Date: Mon, 19 Sep 2005 19:23:56 -0500	[thread overview]
Message-ID: <7c278d0c05091917232c79b909@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 153 bytes --]

Attached is a simple patch adding support to cogito for "make deb".
Please use if useful or let me know if this patch is offbase..

Thanks,
Stefhen

[-- Attachment #2: 2005-09-19.Makefile.diff --]
[-- Type: text/plain, Size: 521 bytes --]

diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -125,6 +125,12 @@ dist: cogito.spec
 rpm: dist
 	rpmbuild -ta $(GIT_TARNAME).tar.gz
 
+deb: dist
+	rm -rf $(GIT_TARNAME)
+	tar zxf $(GIT_TARNAME).tar.gz
+	dpkg-source -b $(GIT_TARNAME)
+	cd $(GIT_TARNAME) && fakeroot debian/rules binary
+
 Portfile: Portfile.in $(VERSION) dist
 	sed -e 's/@@VERSION@@/$(shell cat $(VERSION) | cut -d"-" -f2)/g' < Portfile.in > Portfile
 	echo "checksums md5 " `md5sum $(GIT_TARNAME).tar.gz | cut -d ' ' -f 1` >> Portfile

             reply	other threads:[~2005-09-20  0:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-20  0:23 Stefhen Hovland [this message]
2005-09-20  0:31 ` [PATCH][COGITO] Add .deb build support to Makefile Petr Baudis
2005-09-20  0:48   ` Stefhen Hovland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7c278d0c05091917232c79b909@mail.gmail.com \
    --to=stefhen.hovland@gmail$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox