build: don't move pkg/lib/ to src/lib/

Keep pkg/lib in the same location as it is in the cockpit repository,
and adjust the include path accordingly.

This makes the production of the .pot file somewhat more deterministic:
previously, it would either include or not include the strings from
pkg/lib depending on if it had been checked out or not.  Now it never
includes them.

Cherry-picked from cockpit-podman commit a70630be2139a.
This commit is contained in:
Martin Pitt 2022-06-30 06:57:10 +02:00 committed by Martin Pitt
parent adc3643052
commit b3a9565668
5 changed files with 13 additions and 14 deletions

2
.gitignore vendored
View file

@ -11,7 +11,7 @@ Test*FAIL*
/bots
test/common/
test/images/
src/lib/
pkg
*.pot
POTFILES*
tmp/