[notify-sharp] Make notify-sharp 3.0 parallel installable with < 3.0



commit d5390f685bdd257244f964fd3e2b95a02bd296a0
Author: Mirco Bauer <meebey meebey net>
Date:   Wed Dec 17 01:05:09 2014 +0100

    Make notify-sharp 3.0 parallel installable with < 3.0

 notify-sharp-3.0.pc.in |    2 +-
 src/Makefile.am        |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/notify-sharp-3.0.pc.in b/notify-sharp-3.0.pc.in
index 6c75af0..bdaaea5 100644
--- a/notify-sharp-3.0.pc.in
+++ b/notify-sharp-3.0.pc.in
@@ -1,7 +1,7 @@
 prefix= prefix@
 exec_prefix=${prefix}
 libdir=${exec_prefix}/lib
-pkglibdir=${libdir}/mono/notify-sharp
+pkglibdir=${libdir}/mono/notify-sharp- API_VERSION@
 
 Name: notify-sharp
 Description: C# client library for notification-daemon
diff --git a/src/Makefile.am b/src/Makefile.am
index 50bbb39..d4d7c3d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -21,13 +21,13 @@ $(TARGET): $(CSFILES) AssemblyInfo.cs
 install-data-local:
        @if test -n '$(TARGET)'; then                       \
           echo "$(GACUTIL) /i $(TARGET) /f /gacdir $(DESTDIR)$(libdir)";    \
-          $(GACUTIL) /i $(TARGET) /package $(ASSEMBLY) /f /gacdir $(libdir) /root $(DESTDIR)$(libdir) || 
exit 1; \
+          $(GACUTIL) /i $(TARGET) /package $(ASSEMBLY)-$(API_VERSION) /f /gacdir $(libdir) /root 
$(DESTDIR)$(libdir) || exit 1; \
         fi
 
 uninstall-local:
        @if test -n '$(TARGET)'; then                       \
           echo "$(GACUTIL) /u $(ASSEMBLY) /gacdir $(DESTDIR)$(libdir)";  \
-          $(GACUTIL) /u $(ASSEMBLY) /package $(ASSEMBLY) /gacdir $(libdir) /root $(DESTDIR)$(libdir) || exit 
1;   \
+          $(GACUTIL) /u $(ASSEMBLY) /package $(ASSEMBLY)-$(API_VERSION) /gacdir $(libdir) /root 
$(DESTDIR)$(libdir) || exit 1;   \
         fi
 
 EXTRA_DIST = \


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