Makefile.am 783 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Makefile.am                                          -*-Makefile-*-

include $(top_srcdir)/config/Makefile.xt
-include pack-esdf.c.dep

bin_PROGRAMS	= pack-esdf
SCFLAGS         = --main $* --verbose 0
STRINCLUDES	= \
		  -I $(SDF_FRONT)/share/sdf-front \
		  -I $(ASFIX_TOOLS)/share/asfix-tools \
		  -I $(XTC)/share/xtc \
		  -I $(top_builddir)/config
CLEANFILES	= pack-esdf.c{,.dep} $(man_MANS) pack-esdf.inc
nodist_pack_esdf_SOURCES = pack-esdf.c
EXTRA_DIST	= pack-esdf.str

17
18
19
20
21
if HAVE_HELP2MAN
man_MANS	= pack-esdf.1
EXTRA_DIST	+= pack-esdf.1
endif

22
23
24
25
26
27
28
pack-esdf.1: pack-esdf pack-esdf.inc
	$(HELP2MAN) -S LRDE -i pack-esdf.inc \
	  --no-info ./pack-esdf -o $@

pack-esdf.inc: $(top_srcdir)/src/mancmds
	sed -e "/^pack-esdf$$/d" $< | \
	  sed -f $(top_srcdir)/config/seealso.sed >$@