openocd: src: remove duplicated GPL license tag
[fw/openocd] / Makefile.am
index a047298cba5f5c3854bab6d2674fee40c59b1852..89ca8380f8e2d80c1563334d0beb162d704ea7de 100644 (file)
@@ -1,7 +1,11 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 # not a GNU package. You can remove this line, if
 # have all needed files, that a GNU package needs
 AUTOMAKE_OPTIONS = gnu 1.6
 
+.DELETE_ON_ERROR:
+
 # make sure we pass the correct jimtcl flags to distcheck
 DISTCHECK_CONFIGURE_FLAGS = --disable-install-jim
 
@@ -34,7 +38,6 @@ AM_CFLAGS = $(GCC_WARNINGS)
 AM_CPPFLAGS = $(HOST_CPPFLAGS)\
                          -I$(top_srcdir)/src \
                          -I$(top_builddir)/src \
-                         -I$(top_srcdir)/src/helper \
                          -DPKGDATADIR=\"$(pkgdatadir)\" \
                          -DBINDIR=\"$(bindir)\"
 
@@ -124,8 +127,6 @@ 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