netlist: Fix option `--source-library-search'
[geda-gaf.git] / Makefile.am
bloba4bc12dd6eb9bfe2a3f4817f7e211c18bcdb34e3
1 # Copyright (C) 2013-2020 Roland Lutz
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 # GNU General Public License for more details.
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software Foundation,
15 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 SUBDIRS = \
18         po \
19         src/storage \
20         src/cpython/storage \
21         src/cpython/guile \
22         src/python \
23         src/gaf \
24         src/command \
25         src/backend \
26         . \
27         tests \
28         tests/netlist
30 include_HEADERS = include/xornstorage.h
32 nodist_noinst_PYTHON = built-packages/xorn.py built-packages/gaf.py
33 all-local: $(nodist_noinst_PYTHON)
34 built-packages/xorn.py: Makefile
35         $(AM_V_GEN)$(MKDIR_P) built-packages && { \
36             echo '__path__ = ["$(abs_builddir)/src/cpython/storage/.libs",'; \
37             echo '            "$(abs_builddir)/src/cpython/guile/.libs",'; \
38             echo '            "$(abs_builddir)/src/python",'; \
39             echo '            "$(abs_srcdir)/src/python"]'; \
40         } > $@
41 built-packages/gaf.py: Makefile
42         $(AM_V_GEN)$(MKDIR_P) built-packages && { \
43             echo '__path__ = ["$(abs_srcdir)/src/gaf"]'; \
44         } > $@
46 CLEANFILES = \
47         built-packages/xorn.py \
48         built-packages/xorn.pyc \
49         built-packages/gaf.py \
50         built-packages/gaf.pyc
52 ACLOCAL_AMFLAGS = -I m4
54 EXTRA_DIST = \
55         pprint-chlog \
56         doc/HACKING \
57         doc/mainpage.md \
58         doc/storage.md \
59         doc/api/Doxyfile \
60         doc/api/storage.dox \
61         doc/api/using-storage.md \
62         doc/geda/colors.md \
63         doc/geda/coordinatespace.jpg \
64         doc/geda/data.dox \
65         doc/geda/file_format_spec \
66         doc/geda/fileformat_textgraphic.jpg \
67         doc/geda/filltype.svg \
68         doc/geda/linetype.svg \
69         doc/geda/path_example_and_gate-smaller.png \
70         doc/geda/xml-file-format.md
72 dist-hook:
73         if test -d $(srcdir)/.git; \
74         then    chmod u+w $(distdir)/ChangeLog; \
75                 ( cd $(srcdir); ./pprint-chlog ) > $(distdir)/ChangeLog; \
76         fi
78 doxygen:
79         cd $(srcdir)/doc/api && doxygen
81 .PHONY: doxygen