build: pass correct flags to jimtcl during make distcheck
[openocd.git] / Makefile.am
1 # not a GNU package. You can remove this line, if
2 # have all needed files, that a GNU package needs
3 AUTOMAKE_OPTIONS = gnu 1.6
4
5 # make sure we pass the correct jimtcl flags to distcheck
6 DISTCHECK_CONFIGURE_FLAGS = --with-jim-ext=nvp --disable-lineedit
7
8 nobase_dist_pkgdata_DATA = \
9 contrib/libdcc/dcc_stdio.c \
10 contrib/libdcc/dcc_stdio.h \
11 contrib/libdcc/example.c \
12 contrib/libdcc/README \
13 contrib/openocd.udev
14
15 if INTERNAL_JIMTCL
16 SUBDIRS = jimtcl
17 else
18 SUBDIRS =
19 endif
20
21 SUBDIRS += src doc
22
23 EXTRA_DIST = \
24 Doxyfile.in \
25 tools/logger.pl
26
27 libtool: $(LIBTOOL_DEPS)
28 $(SHELL) ./config.status --recheck
29
30 docs: pdf html doxygen
31
32 Doxyfile: $(srcdir)/Doxyfile.in
33 @echo "Creating $@ from $<..."
34 @( \
35 echo "### @@@ -= DO NOT EDIT THIS FILE =- @@@ ###" && \
36 echo "### @@@ Make changes to Doxyfile.in @@@ ###" && \
37 sed -e 's,@srcdir\@,$(srcdir),' \
38 -e 's,@builddir\@,$(builddir),' \
39 -e 's,@doxygen_as_html\@,$(doxygen_as_html),' \
40 -e 's,@doxygen_as_pdf\@,$(doxygen_as_pdf),' $< \
41 ) > $@
42
43 THE_MANUAL = doxygen/latex/refman.pdf
44
45 doxygen::
46 $(MAKE) Doxyfile
47 doxygen Doxyfile 2>&1 | perl $(srcdir)/tools/logger.pl > doxygen.log
48 @if [ -f doxygen/latex/refman.tex ]; then \
49 echo "Creating $(THE_MANUAL)..."; \
50 $(MAKE) $(THE_MANUAL); \
51 else \
52 echo "Skipping Doxygen PDF..."; \
53 fi
54
55 $(THE_MANUAL): %.pdf: %.tex
56 -cd $$(dirname $*) && pdflatex $$(basename $*)
57 -cd $$(dirname $*) && pdflatex $$(basename $*)
58
59 TCL_PATH = tcl
60 # command to find paths of script files, relative to TCL_PATH
61 TCL_FILES = find $(srcdir)/$(TCL_PATH) -name '*.cfg' -o -name '*.tcl' | \
62 sed -e 's,^$(srcdir)/$(TCL_PATH),,'
63
64 dist-hook:
65 for i in $$($(TCL_FILES)); do \
66 j="$(distdir)/$(TCL_PATH)/$$i" && \
67 mkdir -p "$$(dirname $$j)" && \
68 $(INSTALL_DATA) $(srcdir)/$(TCL_PATH)/$$i $$j; \
69 done
70
71 install-data-hook:
72 for i in $$($(TCL_FILES)); do \
73 j="$(DESTDIR)$(pkgdatadir)/scripts/$$i" && \
74 mkdir -p "$$(dirname $$j)" && \
75 $(INSTALL_DATA) $(srcdir)/$(TCL_PATH)/$$i $$j; \
76 done
77
78 uninstall-hook:
79 rm -rf $(DESTDIR)$(pkgdatadir)/scripts
80
81
82 distclean-local:
83 rm -rf Doxyfile doxygen
84
85 DISTCLEANFILES = doxygen.log
86
87 MAINTAINERCLEANFILES = \
88 $(srcdir)/INSTALL \
89 $(srcdir)/configure \
90 $(srcdir)/Makefile.in \
91 $(srcdir)/depcomp \
92 $(srcdir)/config.guess \
93 $(srcdir)/config.sub \
94 $(srcdir)/config.h.in \
95 $(srcdir)/config.h.in~ \
96 $(srcdir)/compile \
97 $(srcdir)/ltmain.sh \
98 $(srcdir)/missing \
99 $(srcdir)/aclocal.m4 \
100 $(srcdir)/install-sh

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)