get-orig-source should include an example.
If you use uscan this is safe and policy compliant (maybe opening a bug against dpkg-dev to get this rule by default)
cd "$(subst ",\",$(dir $(lastword $(MAKEFILE_LIST))))/.." && uscan --destdir $(subst ",\",$(CURDIR)) #"
We have a bug report for lintian asking for checking unsafe uscan, so I
was creating a compliant version
A footnote is suffisant
you call the rules with something (using shebang or directly) make -f somepath/package/debian/rules, uscan need to be excuted on
somepath/package/.
Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com> writes:
get-orig-source should include an example.
If you use uscan this is safe and policy compliant (maybe opening a bug
against dpkg-dev to get this rule by default)
cd "$(subst ",\",$(dir $(lastword $(MAKEFILE_LIST))))/.." && uscan --destdir $(subst ",\",$(CURDIR)) #"
We have a bug report for lintian asking for checking unsafe uscan, so I
was creating a compliant version
A footnote is suffisant
I'm reasonably fluent in shell and make, and I still have absolutely no
idea what that does.
Is there any way that we could help people out and have the correct thing
to do be much, much simpler? Just a single command invocation?
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
roucaries bastien <roucaries.bastien+debian@gmail.com> writes:
you call the rules with something (using shebang or directly) make -f somepath/package/debian/rules, uscan need to be excuted on somepath/package/.
Oh, I see the edge case this is trying to handle.
I'll be honest: I'm personally more inclined to just drop get-orig-source entirely than to try to handle special cases like this. I feel like the target has outlived its usefulness and it would be better to just enhance uscan to support repacking scripts. (And people can still keep the target
if they want; I'm not saying people need to remove it. I just question whether it's useful for Policy to bless it and try to standardize it,
since I'm dubious it's an important part of the workflow to try to standardize.)
How do you plan to instruct uscan how repacking should be done ?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 286 |
Nodes: | 16 (2 / 14) |
Uptime: | 88:16:10 |
Calls: | 6,496 |
Calls today: | 7 |
Files: | 12,100 |
Messages: | 5,277,325 |