summaryrefslogtreecommitdiff
path: root/Build/source/texk/gsftopk/Makefile.am
blob: db3d1510a1ffd0e3254ed6efb4b82747cfd75f8b (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
41
42
43
44
45
46
## Makefile.am for the TeX Live subdirectory texk/gsftopk/
##
## Copyright (C) 2009, 2011 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_OBJECTS): config.force

config.force: $(KPATHSEA_DEPEND)
	echo timestamp >config.force
	$(SHELL) ./config.status --recheck

DISTCLEANFILES = config.force

LDADD = $(KPATHSEA_LIBS)

## Rebuild libkpathsea
@KPATHSEA_RULE@

dist_gsftopkpsheader_DATA = render.ps

gsftopkpsheaderdir = $(datarootdir)/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