I was converting some of my packages to use dh from the debhelper package, when I noticed that it doesn't support rerunning targets.
For example:
- I run
debian/rules build
to check a build. - Make a small code change.
- Run
debian/rules build
again, and it does nothing.
Or another common example I do:
- I run
fakeroot debian/rules binary
to check if I have everything installed in the package correctly. - Find something missing; correct the problem.
- Run
fakeroot debian/rules binary
to test out the change, and it does nothing.
This is a big change in behavior from CDBS, which I was previously using. Is there a work around for this? I don't feel like running debian/rules clean
should be required in these situations.
debian/rules:
#!/usr/bin/make -f
export DEB_CXXFLAGS_MAINT_APPEND+=-std=gnu++0x
%:
dh $@