[Mono-list] Problem with make dist

Neale.Ferguson@SoftwareAG-USA.com Neale.Ferguson@SoftwareAG-USA.com
Wed, 15 Sep 2004 23:30:14 -0400


I fixed it (and the one in net_2_0) with the following:

--- runtime/net_1_1/Makefile.am 7 Sep 2004 22:08:33 -0000       1.46
+++ runtime/net_1_1/Makefile.am 16 Sep 2004 02:17:47 -0000
@@ -80,11 +80,11 @@
 corlib_DATA =3D mscorlib.dll

 EXTRA_DIST =3D $(gac_assemblies) $(corlib_DATA) $(mdb_files)
 MAINTAINERCLEANFILES =3D $(EXTRA_DIST)

-mscorlib.dll $(gac_assemblies):
+mscorlib.dll $(gac_assemblies) $(mdb_files):
        test -f $(top_srcdir)/../mcs/class/lib/default/$@
        -rm -f $(srcdir)/$@
        cd $(srcdir) && $(LN_S) ../../../mcs/class/lib/default/$@ $@

 all-local: $(gac_assemblies)

-----Original Message-----
Make wants the file Accessibility.dll.mdb to exist, but it doesn't know
how to generate it. It looks like you need to expand the rule on line 85
to apply to more targets. Try changing it to

$(EXTRA_DIST):
	test -f $(top_srcdir)/../mcs/class/lib/default/$@
	....

Then you'll get the .mdb files symlinked into the tree as well as the
DLL's.