Debian Codegraph @

lib/xdot/Makefile.am

raw
1 # ## Process this file with automake to produce Makefile.in
2
3 XDOT_VERSION = "4:0:0"
4
5 pkginclude_HEADERS = xdot.h
6
7 AM_CPPFLAGS = -I$(top_srcdir)/lib
8
9 noinst_LTLIBRARIES = libxdot_C.la
10 lib_LTLIBRARIES = libxdot.la
11 pkgconfig_DATA = libxdot.pc
12
13 dist_man_MANS = xdot.3
14 if ENABLE_MAN_PDFS
15 pdf_DATA = xdot.3.pdf
16 endif
17
18 libxdot_C_la_SOURCES = xdot.c
19 libxdot_la_LDFLAGS = -version-info $(XDOT_VERSION) -no-undefined
20 libxdot_la_SOURCES = $(libxdot_C_la_SOURCES)
21
22 .3.3.pdf:
23 rm -f $@; pdffile=$@; psfile=$${pdffile%pdf}ps; \
24 $(GROFF) -Tps -man $< > $$psfile || { rm -f $$psfile; exit 1; }; \
25 $(PS2PDF) $$psfile && rm -f $$psfile || { rm -f $$psfile; exit 1; }
26 SUFFIXES = .3 .3.pdf
27
28 DISTCLEANFILES = $(pdf_DATA)