plug-ins: in pygimp/plug-ins/Makefile.am, re-copy plug-ins upon change
In pygimp/plug-ins/Makefile.am, fix the rule for the generated
plug-in files, so that they're re-copied to the build dir upon
changes to the source plug-in files.
(cherry picked from commit 95044d86b3
)
This commit is contained in:
@ -41,8 +41,12 @@ test_scripts = \
|
|||||||
sphere/sphere.py \
|
sphere/sphere.py \
|
||||||
whirlpinch/whirlpinch.py
|
whirlpinch/whirlpinch.py
|
||||||
|
|
||||||
%.py:
|
$(scripts) $(test_scripts): $(source_scripts)
|
||||||
mkdir -p $(@D) && cp -f $(srcdir)/$(@F) $@
|
@ \
|
||||||
|
dir=`dirname "$@"`; \
|
||||||
|
base=`basename "$@"`; \
|
||||||
|
echo " GEN $@"; \
|
||||||
|
mkdir -p "$$dir" && cp -f "$(srcdir)/$$base" "$@";
|
||||||
|
|
||||||
nobase_pluginexec_SCRIPTS = $(scripts)
|
nobase_pluginexec_SCRIPTS = $(scripts)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user