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

Commit

Permalink
Sing dbus-sharp.dll to avoid add to GAC error
Browse files Browse the repository at this point in the history
  • Loading branch information
nvoronchev committed May 23, 2019
1 parent b288288 commit 5941e94
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,17 @@ all: $(TARGET)

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

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

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

.PHONY: $(TARGET)

Expand Down

0 comments on commit 5941e94

Please sign in to comment.