commit c6189efb50d7467526ccae0720544d72a63cdd9c Author: Daniele Forsi <dani...@forsi.it> Date: Wed Jan 12 12:13:28 2011 +0100
Build fixes * Makefile.am * data/Makefile.am * Generate AUTHORS and COPYING symlinks in the directory that contains them and exclude them from make dist. Makefile.am | 16 +--------------- data/Makefile.am | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 15 deletions(-) --- diff --git a/Makefile.am b/Makefile.am index 8217624..655a493 100644 --- a/Makefile.am +++ b/Makefile.am @@ -32,18 +32,4 @@ uninstall-hook: update-docs: cd doc && make update-docs - -all-local: copy-licence copy-authors - -# Creating symbolic links in plugin root directory -copy-licence: - echo "Copying licence file" - if [ ! -e data/COPYING ]; then \ - ln -s `pwd`/COPYING data/COPYING; \ - fi; - -copy-authors: - echo "Copying authors file" - if [ ! -e data/AUTHORS ]; then \ - ln -s `pwd`/AUTHORS data/AUTHORS; \ - fi; + diff --git a/data/Makefile.am b/data/Makefile.am index e1f56db..ecb19c8 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -22,3 +22,23 @@ EXTRA_DIST = \ CLEANFILES = \ $(desktop_DATA) \ gtkpod.gladep + +# Creating symbolic links in plugin root directory +COPYING: $(top_srcdir)/COPYING + ln -s $(top_srcdir)/COPYING COPYING + +AUTHORS: $(top_srcdir)/AUTHORS + ln -s $(top_srcdir)/AUTHORS AUTHORS + +clean-local: clean-licence clean-authors + +# Clean up the links and files created purely for developing +clean-licence: + -rm -f COPYING + +clean-authors: + -rm -f AUTHORS + +dist-hook: clean-licence clean-authors + +.PHONY: clean-licence clean-authors ------------------------------------------------------------------------------ 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