pkgdatadir = $(gamedatadir)/scripts/modules if COMPILE_SCRIPTS scripts = *.pyc all: $(adonthell_binary) -c else scripts = *.py endif nodist_pkgdata_DATA = $(scripts) EXTRA_DIST = \ achievement_screen.py \ character_screen.py \ console.py \ events.py \ intro.py \ main_menu.py \ option_screen.py \ player_text.py \ __init__.py *.pyc : *.py CLEANFILES = *.pyc