>      # I wish I could clean source/component here, but then the build-tools
>      # target FTBFS, so clean in the override_dh_auto_build target instead.
> #    make -C source/component clean
>

At least from upstream, you can do this without any circular dependency:

1. "make build-tools",
2. clean and recreate "make -C source/component clean all" , if you
wish to make sure that it gets recreated (even though we already ship
in repo the up-to-date version),
3. build PasDoc itself by "make build-fpc-default" (command-line),
"make build-gui".

I just tested the sequence

"""
make clean
make build-tools
make -C source/component clean all
make build-fpc-default
make build-gui
"""

and it goes OK, and everything gets recompiled, without pasdoc.css.inc
being recreated in the middle (when file_to_pascal_string is
available, and before it is used for PasDoc compilation).

Hope this helps to untangle whatever Debian scripts are doing :)
Regards,
Michalis

Reply via email to