{"thread":{"id":"1869","subject":"[PATCH][COGITO] Add .deb build support to Makefile","startedAt":"2005-09-20T00:23:56Z","lastAt":"2005-09-20T00:48:50Z","messageCount":3,"participants":["Stefhen Hovland","Petr Baudis"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"8927","messageId":"7c278d0c05091917232c79b909@mail.gmail.com","threadId":"1869","inReplyTo":null,"subject":"[PATCH][COGITO] Add .deb build support to Makefile","fromName":"Stefhen Hovland","fromEmail":"stefhen.hovland@gmail.com","sentAt":"2005-09-20T00:23:56Z","receivedAt":"2005-09-20T00:23:56Z","isPatch":true,"sender":{"key":"stefhen.hovland@gmail.com","avatar":null},"body":"Attached is a simple patch adding support to cogito for \"make deb\".\nPlease use if useful or let me know if this patch is offbase..\n\nThanks,\nStefhen\n\n\ndiff --git a/Makefile b/Makefile\n--- a/Makefile\n+++ b/Makefile\n@@ -125,6 +125,12 @@ dist: cogito.spec\n rpm: dist\n \trpmbuild -ta $(GIT_TARNAME).tar.gz\n \n+deb: dist\n+\trm -rf $(GIT_TARNAME)\n+\ttar zxf $(GIT_TARNAME).tar.gz\n+\tdpkg-source -b $(GIT_TARNAME)\n+\tcd $(GIT_TARNAME) && fakeroot debian/rules binary\n+\n Portfile: Portfile.in $(VERSION) dist\n \tsed -e 's/@@VERSION@@/$(shell cat $(VERSION) | cut -d\"-\" -f2)/g' < Portfile.in > Portfile\n \techo \"checksums md5 \" `md5sum $(GIT_TARNAME).tar.gz | cut -d ' ' -f 1` >> Portfile\n"},{"id":"8929","messageId":"20050920003102.GB13537@pasky.or.cz","threadId":"1869","inReplyTo":"7c278d0c05091917232c79b909@mail.gmail.com","subject":"Re: [PATCH][COGITO] Add .deb build support to Makefile","fromName":"Petr Baudis","fromEmail":"pasky@ucw.cz","sentAt":"2005-09-20T00:31:02Z","receivedAt":"2005-09-20T00:31:02Z","isPatch":true,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"Dear diary, on Tue, Sep 20, 2005 at 02:23:56AM CEST, I got a letter\nwhere Stefhen Hovland <stefhen.hovland@gmail.com> told me that...\n> Attached is a simple patch adding support to cogito for \"make deb\".\n> Please use if useful or let me know if this patch is offbase..\n\nThanks, applied. I just changed it so that the temporary directory is\nremoved after fakeroot completes successfully.\n\n-- \n\t\t\t\tPetr \"Pasky\" Baudis\nStuff: http://pasky.or.cz/\nVI has two modes: the one in which it beeps and the one in which\nit doesn't.\n"},{"id":"8934","messageId":"7c278d0c050919174831798c8d@mail.gmail.com","threadId":"1869","inReplyTo":"20050920003102.GB13537@pasky.or.cz","subject":"Re: [PATCH][COGITO] Add .deb build support to Makefile","fromName":"Stefhen Hovland","fromEmail":"stefhen.hovland@gmail.com","sentAt":"2005-09-20T00:48:50Z","receivedAt":"2005-09-20T00:48:50Z","isPatch":true,"sender":{"key":"stefhen.hovland@gmail.com","avatar":null},"body":"On 9/19/05, Petr Baudis <pasky@ucw.cz> wrote:\n> Dear diary, on Tue, Sep 20, 2005 at 02:23:56AM CEST, I got a letter\n> where Stefhen Hovland <stefhen.hovland@gmail.com> told me that...\n> > Attached is a simple patch adding support to cogito for \"make deb\".\n> > Please use if useful or let me know if this patch is offbase..\n> \n> Thanks, applied. I just changed it so that the temporary directory is\n> removed after fakeroot completes successfully.\n> \n\nGreat thanks.\n\n\nAlso I noticed the variable $(GIT_TARNAME) in the Makefile, it looks\nlike it was probably just copied from the git Makefile. Wouldn't this\nmake more sense just from a non confusion/cleanliness standpoint to be\ncalled $(COGITO_TARNAME), or is this not worth bothering with? If so I\ncan just submit a quick diff.\n\nThanks,\nStefhen\n"}]}