git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH][COGITO] Add .deb build support to Makefile

From
SHStefhen Hovland <stefhen.hovland@gmail.com>
Date
Sep 20, 2005, 00:23 UTC
Message-ID
<7c278d0c05091917232c79b909@mail.gmail.com>

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

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
Next: Petr Baudis
Message 1 of 3 in “[COGITO] Add .deb build support to Makefile”
  1. [COGITO] Add .deb build support to MakefileStefhen Hovland, Sep 20, 2005
  2. Petr BaudisSep 20, 2005
  3. Stefhen HovlandSep 20, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.