summaryrefslogtreecommitdiff
path: root/Build/source/texk/gsftopk/Makefile.am
blob: 46e30a1494b80a9d2bdda723cedb9c1569d1c30f (plain)
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
## Makefile.am for the TeX Live subdirectory texk/gsftopk/
##
## Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
## You may freely use, modify and/or distribute this file.
##
ACLOCAL_AMFLAGS = -I ../../m4

INCLUDES = $(KPATHSEA_INCLUDES)
AM_CPPFLAGS = -DKPATHSEA -Dlint
AM_CFLAGS = $(WARNING_CFLAGS)

bin_PROGRAMS = gsftopk

gsftopk_SOURCES = \
	gsftopk.c \
	version.h

gsftopk_DEPENDENCIES = $(KPATHSEA_DEPEND)

LDADD = $(KPATHSEA_LIBS)

## Rebuild libkpathsea
@KPATHSEA_RULE@

dist_gsftopkpsheader_DATA = render.ps

gsftopkpsheaderdir = ${prefix}/texmf/dvips/gsftopk

nodist_man1_MANS = gsftopk.1

gsftopk.1: gsftopk1.sed sedscript
	sed -f sedscript <$(srcdir)/gsftopk1.sed >$@

sedscript: mksedscript Makefile
	$(SHELL) $(srcdir)/mksedscript $(AM_CPPFLAGS) >$@

DISTCLEANFILES = gsftopk.1 sedscript

EXTRA_DIST = gsftopk1.sed mksedscript