Skip to content

Commit

Permalink
[FIX] Update makefile to fix bug with autodoc and ubuntu 22.04
Browse files Browse the repository at this point in the history
We should add a specific location for template files in Ubuntu 22.04
with autodoc, as mentioned in the github issue cbbrowne/autodoc#26

Still waiting for a fix from the owner but the repo don't seems to be
active.
  • Loading branch information
Bastien Potiron committed Dec 7, 2022
1 parent b555a1f commit 56acecf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,18 @@ css:

%.pdf:
mkdir -p docs/data-model
postgresql_autodoc -h localhost -u geotrek -d geotrekdb -t dot -m "$*_.*" --password=geotrek -s "public"
postgresql_autodoc -l /usr/share/postgresql-autodoc -h localhost -u geotrek -d geotrekdb -t dot -m "$*_.*" --password=geotrek -s "public"
dot geotrekdb.dot -T pdf -o docs/data-model/$@
rm geotrekdb.dot

authent.pdf:
mkdir -p docs/data-model
postgresql_autodoc -h localhost -u geotrek -d geotrekdb -t dot -m "auth(ent)?_.*" --password=geotrek -s "public"
postgresql_autodoc -l /usr/share/postgresql-autodoc -h localhost -u geotrek -d geotrekdb -t dot -m "auth(ent)?_.*" --password=geotrek -s "public"
dot geotrekdb.dot -T pdf -o docs/data-model/authent.pdf
rm geotrekdb.dot

global.pdf:
postgresql_autodoc -h localhost -u geotrek -d geotrekdb -t dot --password=geotrek -s "public"
postgresql_autodoc -l /usr/share/postgresql-autodoc -h localhost -u geotrek -d geotrekdb -t dot --password=geotrek -s "public"
dot geotrekdb.dot -T pdf -o docs/data-model/global.pdf
rm geotrekdb.dot

Expand Down

0 comments on commit 56acecf

Please sign in to comment.