dia r4176 - in trunk: . bindings



Author: hans
Date: Tue Jan  6 16:44:15 2009
New Revision: 4176
URL: http://svn.gnome.org/viewvc/dia?rev=4176&view=rev

Log:
2009-01-06  Hans Breuer  <hans breuer org>

	* bindings/Makefile.am : tweaked once more to not break 'make distcheck'


Modified:
   trunk/ChangeLog
   trunk/bindings/Makefile.am

Modified: trunk/bindings/Makefile.am
==============================================================================
--- trunk/bindings/Makefile.am	(original)
+++ trunk/bindings/Makefile.am	Tue Jan  6 16:44:15 2009
@@ -24,9 +24,9 @@
 ## this is not working yet (link error)
 #pkgpyexec_LTLIBRARIES = $(libpython_bindings)
 # the python part (import dia;)
-pkgpython_PYTHON = dia.py
+#pkgpython_PYTHON = dia.py
 else
-pkgpython_PYTHON = 
+#pkgpython_PYTHON = 
 endif
 noinst_LTLIBRARIES = $(libpython_bindings)
 
@@ -76,8 +76,13 @@
 
 SWIG_PYTHON_OPT = -python -modern -extranative -c++
 
+if WITH_SWIG
 dia-python.cpp : $(INTERFACES)
 	$(SWIG) $(SWIG_PYTHON_OPT) -I$(top_srcdir) -I../lib -o $@ $<
+else
+dia-python.cpp : $(INTERFACES)
+	echo /* No SWIG */ > $@
+endif
 
 GCCXMLINC = -I.. -I../lib -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libart-2.0   -I/usr/include/python2.5 -I/usr/include/libxml2
 $(srcdir)/dia-object.xml : $(INTERFACES)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]