Opened 5 years ago
Closed 5 years ago
#4531 closed defect (fixed)
extensions/postgis/sql/postgis--unpackaged--<current>.sql dirty builds
Reported by: | strk | Owned by: | pramsey |
---|---|---|---|
Priority: | high | Milestone: | PostGIS 3.0.0 |
Component: | postgis | Version: | master |
Keywords: | Cc: |
Description
I have an old revision in my extensions/postgis/sql/postgis--unpackaged--3.0.0rc2dev.sql
file, and even if that file gets _removed_ by make clean
it gets back with the old revision upon running make
again.
It seems due to postgis_upgrade_for_extension.sql.in
not being removed by make clean
and keeping the old revision around.
Note:
See TracTickets
for help on using tickets.
It turns out that:
make clean
does not remove extensions/postgis/sql/postgis_upgrade_for_extension.sql.inmake -C extensions/postgis sql/postgis_upgrade_for_extension.sql.in
does not re-generate that file when it exists, even if the file it depends upon (sql/postgis_for_extension.sql
) is not present.make -C extensions/postgis sql/postgis_for_extension.sql
creates the source file and unleashes the power ofmake sql/postgis_upgrade_for_extension.sql.in
Pretty confusing, isn't it ?