blob: a3d6f7279796e2cc112d0e29370aa1751716f567 (
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
|
# Makefile for PS utilities
#
# Copyright (C) Reuben Thomas 2012
# See LICENSE for license
SUBDIRS = lib
ACLOCAL_AMFLAGS = -I m4
AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS)
noinst_LIBRARIES = libpsutils.a
libpsutils_a_SOURCES = psutil.c psspec.c
libpsutils_a_LIBADD = $(LIBPAPER)
LDADD = libpsutils.a
bin_PROGRAMS = psbook psselect pstops epsffit psnup psresize
bin_SCRIPTS = psjoin extractres
man_MANS = psutils.1 \
psbook.1 psselect.1 pstops.1 epsffit.1 psnup.1 psresize.1 \
psjoin.1 extractres.1 includeres.1
EXTRA_DIST = m4/gnulib-cache.m4 \
psutil.h psspec.h \
$(bin_SCRIPTS) \
$(man_MANS)
all: includeres
includeres: extractres
$(RM) $@ && $(LN_S) extractres $@
install-exec-hook:
cd $(DESTDIR)$(bindir); $(RM) includeres; $(LN_S) extractres includeres
uninstall-hook:
$(RM) $(DESTDIR)$(bindir)/includeres
clean-local:
$(RM) includeres
|