-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.am
More file actions
58 lines (44 loc) · 1.73 KB
/
Copy pathMakefile.am
File metadata and controls
58 lines (44 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
## Copyright (c) 2002, 2005, 2006, 2007, 2020, 2025 Dan McMahill
## All rights reserved.
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; version 2 of the License.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
# package-version.mk will want these defined to be able to append to them.
CLEANFILES=
BUILT_SOURCES=
MKSRCS= latex.mk.in latex.subdir.mk.in lgrind.mk.in mpost.mk.in tgif.mk.in xfig.mk.in
BMKFILES= ${MKSRCS:.mk.in=.mk}
GMKFILES= ${MKSRCS:.mk.in=.gmk}
PSFILES= dated_draft.ps
pkgdata_DATA= ${BMKFILES} ${GMKFILES} ${PSFILES}
bin_SCRIPTS= latex-mk ieee-copyout
DISTCLEANFILES= \
configure.lineno \
${BMKFILES} \
${GMKFILES}
EXTRA_DIST= ${PSFILES} TODO
SUBDIRS= doc example testsuite
SUFFIXES= .mk.in .mk .gmk
SED_COMMON= -e 's;@pkgdatadir@;$(pkgdatadir);g' \
-e 's;@latexmkconfdir@;${sysconfdir};g' \
-e 's;@latexmkbindir@;${bindir};g'
# make sure the latex-mk script is executible before installation so we
# can give it a trial run here
all-local:
chmod 755 latex-mk
chmod 755 ieee-copyout
.mk.in.mk:
sed -e 's/^BMK://g' -e '/^GMK:/d' ${SED_COMMON} $< > $@
.mk.in.gmk:
sed -e 's/^GMK://g' -e '/^BMK:/d' ${SED_COMMON} $< > $@
include $(top_srcdir)/build-helpers/package-version.mk