git.vger.kernel.org archive mirror
 help / color / mirror / 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

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

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 NNTP newsgroup(s).