diff --git a/Makefile.am b/Makefile.am index 20263993..8a112853 100755 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -basedirs = build SparkleLib data po +basedirs = build SparkleLib SparkleLib/Git data po SUBDIRS = $(basedirs) $(GUISUBDIRS) DIST_SUBDIRS = $(basedirs) SparkleShare diff --git a/SparkleLib/Git/Makefile.am b/SparkleLib/Git/Makefile.am new file mode 100755 index 00000000..5d516405 --- /dev/null +++ b/SparkleLib/Git/Makefile.am @@ -0,0 +1,22 @@ +ASSEMBLY = SparkleLib.Git +TARGET = library + +LINK = -r:$(DIR_BIN)/SparkleLib.dll + +SOURCES = \ + SparkleGit.cs \ + SparkleFetcherGit.cs \ + SparkleRepoGit.cs + + +install-data-hook: + for ASM in $(EXTRA_BUNDLE); do \ + $(INSTALL) -m 0755 $$ASM $(DESTDIR)$(moduledir); \ + done; + +uninstall-hook: + for ASM in $(EXTRA_BUNDLE); do \ + rm -f $(DESTDIR)$(moduledir)/`basename $$ASM`; \ + done; + +include $(top_srcdir)/build/build.mk diff --git a/configure.ac b/configure.ac index 0d4adcd5..538babad 100755 --- a/configure.ac +++ b/configure.ac @@ -157,6 +157,7 @@ data/plugins/Makefile SparkleLib/AssemblyInfo.cs SparkleLib/Defines.cs SparkleLib/Makefile +SparkleLib/Git/Makefile SparkleShare/sparkleshare SparkleShare/Makefile SparkleShare/Mac/Makefile