On Tue, 09 Apr 2013, Daniel Déchelotte escribió: > Hi, > > After all this time compiling and using git WM under Debian, I still wonder > if there is a better way to do it. > 1. I had to make debian/rules executable > 2. I had to an entry in debian/changelog, updating it everytime it gets > updated (resolving merge conflict) > 3. And to build, I couldn't find anything better than running fakeroot > debian/rules clean followed by fakeroot debian/rules binary > > Are there any shortcuts? Especially for step 3, doing a full clean + build > seems wasteful. > > Thanks for any tips, > -- Daniel
Hi Daniel, sorry for the delay. Probably, the best way is write a little script to do the work: ---------------8<----------------- #!/bin/bash WMAKER=wmaker-crm cd $WMAKER git pull cd .. VERSION=`head -1 wmaker-crm/debian/changelog|cut -d\( -f2 | cut -d\- -f1` tar cvzf wmaker_$VERSION.orig.tar.gz $WMAKER cd $WMAKER dpkg-buildpackage -uc -us -sa -tc cd .. ---------------8<----------------- Create the script in the parent folder of wmaker source and try it. If you need more help, write to wmaker-dev. Cheers, kix -- To unsubscribe, send mail to [email protected].
