Add .deb build support to Makefile
PATCH 1/1 Add .deb build support to Makefile
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
Makefile +6 -0
@@ -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
Petr Baudis
AppliedDear diary, on Tue, Sep 20, 2005 at 02:23:56AM CEST, I got a letter where Stefhen Hovland <[email protected]> told me that...
Quoted 2 lines
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.
Signature · 4 lines
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.
Quoted 8 lines · Petr Baudis
Dear diary, on Tue, Sep 20, 2005 at 02:23:56AM CEST, I got a letter where Stefhen Hovland <[email protected]> told me that...
Quoted 2 lines
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