LICENSES: Add the MIT license
[fw/openocd] / Makefile.am
index 7a718d769a2d217e94eb6ddd6d3ea7a406692359..a047298cba5f5c3854bab6d2674fee40c59b1852 100644 (file)
@@ -6,8 +6,7 @@ AUTOMAKE_OPTIONS = gnu 1.6
 DISTCHECK_CONFIGURE_FLAGS = --disable-install-jim
 
 # do not run Jim Tcl tests (esp. during distcheck)
-check-recursive:
-       @true
+check-recursive: SUBDIRS :=
 
 nobase_dist_pkgdata_DATA = \
        contrib/libdcc/dcc_stdio.c \
@@ -43,15 +42,23 @@ if INTERNAL_JIMTCL
 AM_CPPFLAGS += -I$(top_srcdir)/jimtcl \
                           -I$(top_builddir)/jimtcl
 endif
-EXTRA_DIST_NEWS != ls $(srcdir)/NEWS-*
 EXTRA_DIST += \
        BUGS \
        HACKING \
        NEWTAPS \
        README.Windows \
-       README.OSX \
+       README.macOS \
        $(EXTRA_DIST_NEWS) \
        Doxyfile.in \
+       LICENSES/license-rules.txt \
+       LICENSES/preferred/BSD-1-Clause \
+       LICENSES/preferred/BSD-2-Clause \
+       LICENSES/preferred/BSD-3-Clause \
+       LICENSES/preferred/GFDL-1.2 \
+       LICENSES/preferred/gfdl-1.2.texi.readme \
+       LICENSES/preferred/GPL-2.0 \
+       LICENSES/preferred/MIT \
+       LICENSES/stand-alone/GPL-3.0 \
        tools/logger.pl \
        tools/rlink_make_speed_table \
        tools/st7_dtc_as \
@@ -117,6 +124,8 @@ uninstall-hook:
 distclean-local:
        rm -rf Doxyfile doxygen
        rm -f $(srcdir)/jimtcl/configure.gnu
+# FIXME: workaround for jimtcl 0.80 only. Remove from jimtcl 0.81
+       rm -f jimtcl/examples.api/Makefile
 
 DISTCLEANFILES = doxygen.log