Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit c6bb737

Browse files
committed
Sign dbus-sharp.dll to avoid add to GAC error
1 parent b288288 commit c6bb737

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/Makefile.am

+7-8
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,17 @@ all: $(TARGET)
5555

5656
$(TARGET): $(CSFILES) AssemblyInfo.cs
5757
$(XBUILD_Q) dbus-sharp.csproj
58+
sn -q -R $(TARGET) $(top_srcdir)/dbus-sharp.snk
5859

5960
install-data-local: $(TARGET)
60-
@if test -n '$(TARGET)'; then \
61-
echo "$(GACUTIL) /i $(TARGET) /package $(PACKAGE)-$(API_VERSION) /f /gacdir $(libdir) /root $(DESTDIR)$(libdir)"; \
62-
$(GACUTIL) /i $(TARGET) /package $(PACKAGE)-$(API_VERSION) /f /gacdir $(libdir) /root $(DESTDIR)$(libdir) || exit 1; \
63-
fi
61+
@if test -n '$(TARGET)'; then \
62+
( set -x; $(GACUTIL) /i $(TARGET) /package $(PACKAGE)-$(API_VERSION) /f /gacdir $(libdir) /root $(DESTDIR)$(libdir) ) || exit 1; \
63+
fi
6464

6565
uninstall-local:
66-
@if test -n '$(TARGET)'; then \
67-
echo "$(GACUTIL) /u $(ASSEMBLY) /package $(PACKAGE)-$(API_VERSION) /gacdir $(libdir) /root $(DESTDIR)$(libdir)"; \
68-
$(GACUTIL) /u $(ASSEMBLY) /package $(PACKAGE)-$(API_VERSION) /gacdir $(libdir) /root $(DESTDIR)$(libdir) || exit 1; \
69-
fi
66+
@if test -n '$(TARGET)'; then \
67+
( set -x; $(GACUTIL) /u $(ASSEMBLY) /package $(PACKAGE)-$(API_VERSION) /gacdir $(libdir) /root $(DESTDIR)$(libdir) ) || exit 1; \
68+
fi
7069

7170
.PHONY: $(TARGET)
7271

0 commit comments

Comments
 (0)