> Dah. You proved that I never read all the doc of dpatch. I just used > this system mostly by manual editting. > > If you can propose specifically how this can be descibed in the doc, I > will appreciate.
1) Create your package, without modifying any of the upstram source (if the upstream source was already modified, continue anyway, following path 3b). 2) Modify debian/rules to include dpatch (see dpatch.make manpage) Here debian/rules originally looks like: build: ${MAKE} clean: ${MAKE} clean You change debian/rules to the following by the editor to use dpatch: include /usr/share/dpatch/dpatch.make build: patch ${MAKE} clean: clean-patched unpatch clean-patched: ${MAKE} clean 3a) If no upstream changes have been made, then edit the patch: dpatch-edit-patch patch 01_patchname This will drop you into a new shell where you can edit any files you want to change, and when you exit the shell your changes will be put into the patch you specified. 3b) If upstream changes have already been made, then extract them into a patch: dpatch-convert-diffgz 01 patchname 4) Add 01_patchname to debian/patches/00list: 01_patchname Hope this helps. It would have helped me. ;-) Charles -- Shave faster without disaster Burma-Shave http://burma-shave.org/jingles/1939/shave_faster_without
signature.asc
Description: Digital signature