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

AM_CFLAGS = $(WARNING_CFLAGS)
INCLUDES = $(X_CFLAGS)

LDADD = $(X_LIBS) -lX11 -lXmu $(X_EXTRA_LIBS)

bin_PROGRAMS = pdfopen pdfclose

common_sources = sendx.c sendx.h utils.c utils.h xpdfopen.h

pdfopen_SOURCES = pdfopen.c $(common_sources)

pdfclose_SOURCES = pdfclose.c $(common_sources)

dist_man1_MANS = pdfopen.1

# Symlinks within $(man1dir): FILE:LINK indicates LINK.1->FILE.1
man1_links = pdfopen:pdfclose

include $(top_srcdir)/../../texk/am/man1_links.am

install-data-hook: install-man1-links

uninstall-hook: uninstall-man1-links

EXTRA_DIST = xpdfopen.pdf xpdfopen.tex

EXTRA_DIST += pdfopen-AR-7-and-8.c

EXTRA_DIST += Makefile.am.orig configure.ac.orig