LICENSES: Add the MIT license
[fw/openocd] / Makefile.am
index 579d3a7ae2c5f3d5449c6ff930f6ab7d0b5c03e3..a047298cba5f5c3854bab6d2674fee40c59b1852 100644 (file)
@@ -5,12 +5,15 @@ AUTOMAKE_OPTIONS = gnu 1.6
 # make sure we pass the correct jimtcl flags to distcheck
 DISTCHECK_CONFIGURE_FLAGS = --disable-install-jim
 
+# do not run Jim Tcl tests (esp. during distcheck)
+check-recursive: SUBDIRS :=
+
 nobase_dist_pkgdata_DATA = \
        contrib/libdcc/dcc_stdio.c \
        contrib/libdcc/dcc_stdio.h \
        contrib/libdcc/example.c \
        contrib/libdcc/README \
-       contrib/99-openocd.rules
+       contrib/60-openocd.rules
 
 SUBDIRS =
 DIST_SUBDIRS =
@@ -44,9 +47,18 @@ EXTRA_DIST += \
        HACKING \
        NEWTAPS \
        README.Windows \
-       README.OSX \
-       $(wildcard $(srcdir)/NEWS*) \
+       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 \
@@ -112,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