15 lines
465 B
Makefile
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
|