git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH][COGITO] Add .deb build support to Makefile
@ 2005-09-20  0:23 Stefhen Hovland
  2005-09-20  0:31 ` Petr Baudis
  0 siblings, 1 reply; 3+ messages in thread
From: Stefhen Hovland @ 2005-09-20  0:23 UTC (permalink / raw
  To: git

[-- 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH][COGITO] Add .deb build support to Makefile
  2005-09-20  0:23 [PATCH][COGITO] Add .deb build support to Makefile Stefhen Hovland
@ 2005-09-20  0:31 ` Petr Baudis
  2005-09-20  0:48   ` Stefhen Hovland
  0 siblings, 1 reply; 3+ messages in thread
From: Petr Baudis @ 2005-09-20  0:31 UTC (permalink / raw
  To: Stefhen Hovland; +Cc: git

Dear diary, on Tue, Sep 20, 2005 at 02:23:56AM CEST, I got a letter
where Stefhen Hovland <stefhen.hovland@gmail.com> told me that...
> 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, applied. I just changed it so that the temporary directory is
removed after fakeroot completes successfully.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH][COGITO] Add .deb build support to Makefile
  2005-09-20  0:31 ` Petr Baudis
@ 2005-09-20  0:48   ` Stefhen Hovland
  0 siblings, 0 replies; 3+ messages in thread
From: Stefhen Hovland @ 2005-09-20  0:48 UTC (permalink / raw
  To: Petr Baudis; +Cc: git

On 9/19/05, Petr Baudis <pasky@ucw.cz> wrote:
> Dear diary, on Tue, Sep 20, 2005 at 02:23:56AM CEST, I got a letter
> where Stefhen Hovland <stefhen.hovland@gmail.com> told me that...
> > 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, applied. I just changed it so that the temporary directory is
> removed after fakeroot completes successfully.
> 

Great thanks.


Also I noticed the variable $(GIT_TARNAME) in the Makefile, it looks
like it was probably just copied from the git Makefile. Wouldn't this
make more sense just from a non confusion/cleanliness standpoint to be
called $(COGITO_TARNAME), or is this not worth bothering with? If so I
can just submit a quick diff.

Thanks,
Stefhen

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-09-20  0:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-20  0:23 [PATCH][COGITO] Add .deb build support to Makefile Stefhen Hovland
2005-09-20  0:31 ` Petr Baudis
2005-09-20  0:48   ` Stefhen Hovland

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).