| 1 |
## $Id: Makefile.am 48168 2018-07-09 17:00:10Z karl $ |
| 2 |
## Makefile.am for the TeX Live subdirectory utils/xpdfopen/ |
| 3 |
## |
| 4 |
## Copyright 2017-2018 Karl Berry <[email protected]> |
| 5 |
## Copyright 2009-2015 Peter Breitenlohner <[email protected]> |
| 6 |
## You may freely use, modify and/or distribute this file. |
| 7 |
|
| 8 |
EXTRA_DIST = $(XPDFOPEN_TREE) |
| 9 |
|
| 10 |
## Changes applied to the original source tree |
| 11 |
EXTRA_DIST += TLpatches |
| 12 |
|
| 13 |
# Files not to be distributed |
| 14 |
include $(srcdir)/../../am/dist_hook.am |
| 15 |
NEVER_NAMES += $(NEVER_NAMES_SUB) |
| 16 |
|
| 17 |
AM_CPPFLAGS = $(X_CFLAGS) |
| 18 |
AM_CFLAGS = $(WARNING_CFLAGS) |
| 19 |
|
| 20 |
LDADD = $(X_LIBS) -lX11 $(X_EXTRA_LIBS) |
| 21 |
|
| 22 |
bin_PROGRAMS = pdfopen pdfclose |
| 23 |
|
| 24 |
common_sources = \ |
| 25 |
@XPDFOPEN_TREE@/sendx.c \ |
| 26 |
@XPDFOPEN_TREE@/utils.c |
| 27 |
|
| 28 |
nodist_pdfopen_SOURCES = \ |
| 29 |
@XPDFOPEN_TREE@/pdfopen.c \ |
| 30 |
$(common_sources) |
| 31 |
|
| 32 |
nodist_pdfclose_SOURCES = \ |
| 33 |
@XPDFOPEN_TREE@/pdfclose.c \ |
| 34 |
$(common_sources) |
| 35 |
|
| 36 |
nodist_man1_MANS = $(XPDFOPEN_TREE)/pdfopen.1 |
| 37 |
|
| 38 |
# Symlinks within $(man1dir): FILE:LINK indicates LINK.1->FILE.1 |
| 39 |
man1_links = pdfopen:pdfclose |
| 40 |
|
| 41 |
include $(top_srcdir)/../../am/man1_links.am |
| 42 |
|
| 43 |
install-data-hook: install-man1-links |
| 44 |
|
| 45 |
uninstall-hook: uninstall-man1-links |
| 46 |
|
| 47 |
EXTRA_DIST += xpdfopen.pdf xpdfopen.tex |
| 48 |
|