]> git.meshlink.io Git - catta/commitdiff
move avahi-sharp.pc to the root directory
authorJames Willcox <snopr@snorp.net>
Fri, 9 Sep 2005 19:37:21 +0000 (19:37 +0000)
committerJames Willcox <snopr@snorp.net>
Fri, 9 Sep 2005 19:37:21 +0000 (19:37 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@546 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

Makefile.am
avahi-sharp.pc.in [new file with mode: 0644]
avahi-sharp/Makefile.am
avahi-sharp/avahi-sharp.pc.in [deleted file]

index ace4a051cebf67e5586b54722b3aaa46f9cb62f1..f3bff8fc0cc8623520f53ba1a77885ec4a68b722 100644 (file)
@@ -40,7 +40,8 @@ EXTRA_DIST = \
        avahi-client.pc.in \
        avahi-glib.pc.in \
        avahi-qt3.pc.in \
-       avahi-qt4.pc.in
+       avahi-qt4.pc.in \
+       avahi-sharp.pc.in
 
 SUBDIRS = \
        common \
@@ -144,6 +145,18 @@ CLEANFILES += avahi-qt4.pc
 
 endif
 
+if HAVE_MONO
+
+pkgconfig_DATA += avahi-sharp.pc
+
+avahi-sharp.pc: avahi-sharp.pc.in
+       sed -e 's,@prefix\@,$(prefix),g' \
+           -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
+           -e 's,@libdir\@,$(libdir),g' $< > $@
+
+CLEANFILES += avahi-sharp.pc
+
+endif
 
 MOSTLYCLEANFILES = $(DX_CLEANFILES)
 
diff --git a/avahi-sharp.pc.in b/avahi-sharp.pc.in
new file mode 100644 (file)
index 0000000..dd067f3
--- /dev/null
@@ -0,0 +1,8 @@
+prefix=@prefix@
+exec_prefix=@prefix@
+libdir=@libdir@
+
+Name: avahi-sharp
+Description: Mono bindings for the Avahi mDNS/DNS-SD stack
+Version: @PACKAGE_VERSION@
+Libs: -r:${libdir}/mono/gac/avahi-sharp/avahi-sharp.dll
index e91271522594bd860d09cbf8c7e7233a66806e4f..bd3e7e1ec6bdb48c8a037570a6d941d0af8f1bd9 100644 (file)
@@ -3,7 +3,7 @@
 ASSEMBLY = avahi-sharp.dll
 
 CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb
-EXTRA_DIST = $(AVAHISOURCES) avahi.snk avahi-sharp.pc.in
+EXTRA_DIST = $(AVAHISOURCES) avahi.snk
 
 AVAHISOURCES =                                 \
        $(srcdir)/AssemblyInfo.cs       \
@@ -24,14 +24,6 @@ $(ASSEMBLY): $(AVAHISOURCES)
 if HAVE_MONO
 all: $(ASSEMBLY)
 
-pkgcfgdir = $(libdir)/pkgconfig
-pkgcfg_DATA = avahi-sharp.pc
-
-avahi-sharp.pc: avahi-sharp.pc.in
-       sed -e 's,@prefix\@,$(prefix),g' \
-           -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
-           -e 's,@libdir\@,$(libdir),g' $< > $@
-
 install-data-hook:
        $(GACUTIL) /i $(ASSEMBLY) /package avahi-sharp /gacdir $(libdir) /root $(DESTDIR)$(libdir)
 endif
diff --git a/avahi-sharp/avahi-sharp.pc.in b/avahi-sharp/avahi-sharp.pc.in
deleted file mode 100644 (file)
index dd067f3..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-prefix=@prefix@
-exec_prefix=@prefix@
-libdir=@libdir@
-
-Name: avahi-sharp
-Description: Mono bindings for the Avahi mDNS/DNS-SD stack
-Version: @PACKAGE_VERSION@
-Libs: -r:${libdir}/mono/gac/avahi-sharp/avahi-sharp.dll