[Commits] Makefile.am 1.1.2.1 1.1.2.2

colin at claws-mail.org colin at claws-mail.org
Wed Mar 13 12:26:41 CET 2013


Update of /home/claws-mail/claws/src/plugins/perl/tools
In directory srv:/tmp/cvs-serv15386/src/plugins/perl/tools

Modified Files:
      Tag: gtk2
	Makefile.am 
Log Message:
2013-03-13 [colin]	3.9.0cvs118

	* src/summaryview.c
		Fix w32 build where apparently 'small' is a reserved
		word
	* src/plugins/perl/tools/Makefile.am
		Fix out-of-tree build

Index: Makefile.am
===================================================================
RCS file: /home/claws-mail/claws/src/plugins/perl/tools/Attic/Makefile.am,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- Makefile.am	28 Feb 2013 21:43:49 -0000	1.1.2.1
+++ Makefile.am	13 Mar 2013 11:26:39 -0000	1.1.2.2
@@ -7,4 +7,21 @@
 MAKE_EXE = chmod u+x $(EXTRA_TOOLS)
 
 all-local:
-	$(MAKE_EXE)
\ No newline at end of file
+	for file in $(EXTRA_TOOLS); do \
+	if [ ! -e ${top_builddir}/src/plugins/perl/tools/$$file ]; then \
+	todir=${top_builddir}/src/plugins/perl/tools; \
+	dir=$$(dirname $$file); \
+	if [ ! $$dir = . ]; then \
+	todir=$$todir/$$dir; \
+	fi; \
+	cp ${top_srcdir}/src/plugins/perl/tools/$$file $$todir; \
+	fi; \
+	done;
+	$(MAKE_EXE)
+
+distclean-local:
+	if [ ! ${top_builddir} = ${top_srcdir} ]; then \
+	for file in $(EXTRA_TOOLS); do \
+	rm -f $$file; \
+	done; \
+	fi



More information about the Commits mailing list