diff --git a/lib/Makefile.am b/lib/Makefile.am index 110533d0ce..ef045ff333 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1655,6 +1655,6 @@ dist_noinst_DATA += lyx.desktop.in images/lyx.svg images/lyx.png install-data-hook: $(CHMOD) 755 $(DESTDIR)$(pkgdatadir)/configure.py - for i in $(dist_scripts_PYTHON); do \ + for i in $(scriptdir)/*.py ; do \ $(CHMOD) 755 $(DESTDIR)$(pkgdatadir)/$$i; \ done