nextcloud / collectives

Collectives is a Nextcloud App for activist and community projects to organize together.
GNU Affero General Public License v3.0
102 stars 19 forks source link

fix(Makefile): evaluate composer prerequisits during build #1511

Closed max-nextcloud closed 1 month ago

max-nextcloud commented 1 month ago

📝 Summary

ifeq (, $(wildcard $(BUILD_TOOLS_DIR)/composer.phar)) is evaluated before any targets are build. Therefore the file still exists. It is only removed later when the dist-clean target is build.

Use a file prerequisit instead. This is evaluated when the target is build.

🖼️ Screenshots

🏚️ Before 🏡 After
grafik grafik

🏁 Checklist