1 # Automake rules for 'include'
3 # File position: <groff-source>/src/include/include.am
5 # Copyright (C) 2014-2018 Free Software Foundation, Inc.
7 # Latest update: 13 Aug 2015
9 # 'groff' is free software; you can redistribute it and/or modify it
10 # under the terms of the GNU General Public License as published by
11 # the Free Software Foundation, either version 2 of the License, or
12 # (at your option) any later version.
14 # 'groff' is distributed in the hope that it will be useful, but
15 # WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 # General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program. If not, see
21 # <http://www.gnu.org/licenses/gpl-2.0.html>.
23 ########################################################################
25 nodist_noinst_HEADERS = defs.h
28 @$(SHELL) $(top_srcdir)/gendef.sh defs.h \
29 "PROG_PREFIX=\"$(g)\"" \
30 "DEVICE=\"$(DEVICE)\"" \
31 "INSTALLPATH=\"$(prefix)\"" \
32 "BINPATH=\"$(bindir)\"" \
33 "FONTPATH=\"$(fontpath)\"" \
34 "MACROPATH=\"$(tmacpath)\"" \
35 "INDEX_SUFFIX=\"$(indexext)\"" \
36 "COMMON_WORDS_FILE=\"$(common_words_file)\"" \
37 "DEFAULT_INDEX_DIR=\"$(indexdir)\"" \
38 "DEFAULT_INDEX_NAME=\"$(indexname)\"" \
39 "DEFAULT_INDEX=\"$(indexdir)/$(indexname)\""
41 dist-hook: dist_include
43 chmod u+w $(distdir)/src/include
44 cp -f $(top_srcdir)/src/include/*.h $(distdir)/src/include
47 ########################################################################
49 ########################################################################
52 # mode: makefile-automake
55 # vim: set filetype=automake textwidth=72: