neoricalex/src/Makefile.am
2025-11-09 11:09:23 +01:00

15 lines
465 B
Makefile

SUBDIRS = manager
bin_SCRIPTS = neoricalex
CLEANFILES = $(bin_SCRIPTS)
EXTRA_DIST = neoricalex.in
do_substitution = sed -e 's,[@]pythondir[@],$(pythondir),g' \
-e 's,[@]PACKAGE[@],$(PACKAGE),g' \
-e 's,[@]VERSION[@],$(VERSION),g'
neoricalex: neoricalex.in Makefile
@which git >/dev/null || { echo "⚠️ Git não encontrado — instale-o manualmente."; exit 1; }
$(do_substitution) < $(srcdir)/neoricalex.in > neoricalex
chmod +x neoricalex