SF.net SVN: geany:[3883] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Sat Jun 20 17:23:01 UTC 2009


Revision: 3883
          http://geany.svn.sourceforge.net/geany/?rev=3883&view=rev
Author:   eht16
Date:     2009-06-20 17:23:01 +0000 (Sat, 20 Jun 2009)

Log Message:
-----------
Generate the geany.pc file also on Windows.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/wscript

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-06-20 16:53:28 UTC (rev 3882)
+++ trunk/ChangeLog	2009-06-20 17:23:01 UTC (rev 3883)
@@ -25,6 +25,8 @@
    related functions.
  * src/main.c, src/ui_utils.c, src/ui_utils.h:
    Init stock items before creating the toolbar (closes #2809324).
+ * wscript:
+   Generate the geany.pc file also on Windows.
 
 
 2009-06-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>

Modified: trunk/wscript
===================================================================
--- trunk/wscript	2009-06-20 16:53:28 UTC (rev 3882)
+++ trunk/wscript	2009-06-20 17:23:01 UTC (rev 3883)
@@ -383,6 +383,22 @@
 			appname			= 'geany'
 		)
 
+	# geany.pc
+	bld.new_task_gen(
+		features		= 'subst',
+		source			= 'geany.pc.in',
+		target			= 'geany.pc',
+		dict			= { 'VERSION' : VERSION,
+							'prefix': bld.env['PREFIX'],
+							'exec_prefix': '${prefix}',
+							'libdir': '${exec_prefix}/lib',
+							'includedir': '${prefix}/include',
+							'datarootdir': '${prefix}/share',
+							'datadir': '${datarootdir}',
+							'localedir': '${datarootdir}/locale' },
+		install_path	= None if is_win32 else '${LIBDIR}/pkgconfig'
+	)
+
 	if not is_win32:
 		# geany.desktop
 		if bld.env['INTLTOOL']:
@@ -393,22 +409,6 @@
 				install_path	= '${DATADIR}/applications'
 			)
 
-		# geany.pc
-		bld.new_task_gen(
-			features		= 'subst',
-			source			= 'geany.pc.in',
-			target			= 'geany.pc',
-			dict			= { 'VERSION' : VERSION,
-								'prefix': bld.env['PREFIX'],
-								'exec_prefix': '${prefix}',
-								'libdir': '${exec_prefix}/lib',
-								'includedir': '${prefix}/include',
-								'datarootdir': '${prefix}/share',
-								'datadir': '${datarootdir}',
-								'localedir': '${datarootdir}/locale' },
-			install_path	= '${LIBDIR}/pkgconfig'
-		)
-
 		# geany.1
 		bld.new_task_gen(
 			features		= 'subst',


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list