diff options
author | Ted Gould <ted@gould.cx> | 2011-06-21 11:32:46 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-06-21 11:32:46 -0500 |
commit | e1c47927f737e8c018f800a47315b5c03f02f08c (patch) | |
tree | a745cf8fbfce7fc1fb4bd62c67b9440527573337 /Makefile.am | |
parent | 33ab93de41a2e6985661d79788873fb774e624b5 (diff) | |
parent | d61ddbef2c5f207e5ba70c976b8565a043c646ca (diff) | |
download | ayatana-ido-e1c47927f737e8c018f800a47315b5c03f02f08c.tar.gz ayatana-ido-e1c47927f737e8c018f800a47315b5c03f02f08c.tar.bz2 ayatana-ido-e1c47927f737e8c018f800a47315b5c03f02f08c.zip |
Updating to GTK3
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am index 3348e87..68fd066 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,9 @@ +if USE_GTK3 +VER=3 +else +VER= +endif + ACLOCAL_AMFLAGS = -I build/autotools V = @ @@ -6,14 +12,14 @@ QUIET_GEN = $(Q:@=@echo ' GEN '$@;) SUBDIRS = build src example -libido-0.1.pc: libido.pc - $(QUIET_GEN) cp -f libido.pc libido-0.1.pc +%-0.1.pc: %.pc + $(QUIET_GEN) cp -f $< $@ pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = libido-0.1.pc +pkgconfig_DATA = libido$(VER)-0.1.pc -CLEANFILES = libido-0.1.pc -DISTCLEANFILES = libido.pc -EXTRA_DIST = libido.pc.in +CLEANFILES = libido-0.1.pc libido3-0.1.pc +DISTCLEANFILES = libido.pc libido3.pc +EXTRA_DIST = libido.pc.in libido3.pc.in DISTCHECK_CONFIGURE_FLAGS = --disable-gtk-doc |