Make .git/index a dependency of cartodb_version.sql
Ensures proper rebuild of version function on git pull/commit
This commit is contained in:
parent
f8180123eb
commit
1692e792a7
2
Makefile
2
Makefile
@ -66,7 +66,7 @@ $(EXTENSION)--$(EXTVERSION)--$(EXTVERSION)next.sql: $(EXTENSION)--$(EXTVERSION).
|
||||
$(EXTENSION).control: $(EXTENSION).control.in Makefile
|
||||
$(SED) -e 's/@@VERSION@@/$(EXTVERSION)/' $< > $@
|
||||
|
||||
cartodb_version.sql: cartodb_version.sql.in Makefile
|
||||
cartodb_version.sql: cartodb_version.sql.in Makefile .git/index
|
||||
$(SED) -e 's/@@VERSION@@/$(EXTVERSION) $(REV)/' $< > $@
|
||||
|
||||
legacy_regress: $(REGRESS_OLD) Makefile
|
||||
|
Loading…
Reference in New Issue
Block a user