* move ecore-input.pc.in from MAINTAINERCLEANFILES to EXTRA_DIST
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 19 Mar 2009 07:39:49 +0000 (07:39 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 19 Mar 2009 07:39:49 +0000 (07:39 +0000)
 * ecore-input.pc is installed only if ecore_input is built
   (detection in configure), not if ecore_x or ecore_sdl are
   built

patch by Lars Munch

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@39572 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

Makefile.am

index 5d81a31..a8079cc 100644 (file)
@@ -24,7 +24,6 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \
                       ecore-x.pc \
                       ecore-win32.pc \
                       ecore-sdl.pc \
-                      ecore-input.pc.in \
                       ecore-input.pc \
                       ecore-quartz.pc \
                       ecore-wince.pc \
@@ -58,6 +57,7 @@ EXTRA_DIST = AUTHORS COPYING COPYING-PLAIN \
             ecore-win32.pc.in \
             ecore-sdl.pc.in \
             ecore-quartz.pc.in \
+            ecore-input.pc.in \
             ecore-wince.pc.in \
             ecore.spec.in ecore.spec
 
@@ -93,6 +93,10 @@ if BUILD_ECORE_IMF_EVAS
 pimfevas = ecore-imf-evas.pc
 endif
 
+if BUILD_ECORE_INPUT
+pinput = ecore-input.pc
+endif
+
 if BUILD_ECORE_IPC
 pipc = ecore-ipc.pc
 endif
@@ -106,7 +110,7 @@ ptxt = ecore-txt.pc
 endif
 
 if BUILD_ECORE_X
-px = ecore-x.pc ecore-input.pc
+px = ecore-x.pc
 endif
 
 if BUILD_ECORE_WIN32
@@ -118,7 +122,7 @@ pwince = ecore-wince.pc
 endif
 
 if BUILD_ECORE_SDL
-psdl = ecore-sdl.pc ecore-input.pc
+psdl = ecore-sdl.pc
 endif
 
 if BUILD_ECORE_QUARTZ
@@ -132,8 +136,8 @@ endif
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = \
        ecore.pc $(pcon) $(pconfig) $(pdfb) $(pevas) \
-       $(pfb) $(pfile) $(pimf) $(pimfevas) $(pipc) $(pjob) $(ptxt) \
-       $(px) $(pwin32) $(pwince) $(psdl) $(pquartz)
+       $(pfb) $(pfile) $(pimf) $(pimfevas) $(pinput) $(pipc) $(pjob) \
+       $(ptxt) $(px) $(pwin32) $(pwince) $(psdl) $(pquartz)
 
 .PHONY: doc