1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
# Because some files are needed by plugins
# in the buildir like .plugin files this
# copies them to the builddir if they don't
# exist so that make distcheck works.
all-local:
@test -z "$(noinst_PLUGIN)" || \
for plugin in $(noinst_PLUGIN) ; do \
if test -e $(srcdir)/$$plugin ; then \
if ! test -e $(builddir)/$$plugin ; then \
cp -p $(srcdir)/$$plugin $(builddir)/ ; \
fi ; \
fi ; \
done
clean-local:
@rm -f gschemas.compiled ; \
test -z "$(noinst_PLUGIN)" || \
test $(srcdir) = $(builddir) || \
for plugin in $(noinst_PLUGIN) ; do \
if test -e $(builddir)/$$plugin ; then \
rm -f $(builddir)/$$plugin ; \
# hack to cleanup .pyc files \
if test -e $(builddir)/$${plugin}c ; then \
rm -f $(builddir)/$${plugin}c ; \
fi ; \
fi ; \
done
|