commit 684d02fb36e29c51b4e9ee6a1e4f2fd71db51024 Author: Daniele Forsi <dani...@forsi.it> Date: Fri Jan 14 14:26:38 2011 +0100
Build fixes * plugins/plugins.mk * The *.plugin files must be installed (else the plugin manager finds them only when running gtkpod from sources), but this breaks make distcheck again and fixing doesn't require to force the creation of symlinks. Add .PHONY targets. plugins/plugins.mk | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) --- diff --git a/plugins/plugins.mk b/plugins/plugins.mk index a7ef450..695c49e 100644 --- a/plugins/plugins.mk +++ b/plugins/plugins.mk @@ -14,8 +14,10 @@ AM_CPPFLAGS = \ # Where to install the plugin plugindir = $(gtkpod_plugin_dir) +plugin_DATA = $(plugin_file) all-local: create-plugin-links create-ui-link create-glade-link +.PHONY: create-plugin-links create-ui-link create-glade-link # Creating symbolic links in plugin root directory create-plugin-links: @@ -24,7 +26,7 @@ create-plugin-links: ln -s `pwd`/.libs/$(plugin_lib) ../$(plugin_lib); \ fi; \ if [ ! -e ../$(plugin_file) ]; then \ - ln -sf `pwd`/$(plugin_file) ../$(plugin_file); \ + ln -s `pwd`/$(plugin_file) ../$(plugin_file); \ fi; # Creating symbolic link to ui file in installed ui directory @@ -47,10 +49,12 @@ create-glade-link: # Clean up the links and files created purely for dev [ing clean-local: clean-plugin-files clean-ui-dir clean-glade-dir +clean-local-check: clean-plugin-files +.PHONY: clean-plugin-files clean-ui-dir clean-glade-dir clean-local-check clean-plugin-files: if [ -h ../$(plugin_file) ]; then \ - rm -f ../$(plugin_lib) ../$(plugin_file); \ + rm -f ../$(plugin_lib) ../$(plugin_file) $(plugin_file); \ fi; clean-ui-dir: ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ gtkpod-cvs2 mailing list gtkpod-cvs2@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2