Makefile.am 828 Bytes
Newer Older
1
2
# Makefile.am                                          -*-Makefile-*-

3
4
5
6
7
8
include $(top_srcdir)/config/Makefile.xt
-include boxedsdf-update.c.dep

bin_PROGRAMS	= boxedsdf-update
SCFLAGS         = --main $* --verbose 0
STRINCLUDES	= -I $(top_builddir)/src/syn \
9
10
11
		  -I $(XTC)/share/xtc \
		  -I $(top_builddir)/config
CLEANFILES	= boxedsdf-update.{c.dep,c} $(man_MANS) boxedsdf-update.inc
12
nodist_boxedsdf_update_SOURCES  = boxedsdf-update.c
13
EXTRA_DIST	= boxedsdf-update.str
14

15
16
17
18
19
if HAVE_HELP2MAN
man_MANS	= boxedsdf-update.1
EXTRA_DIST	+= boxedsdf-update.1
endif

20
21
22
23
24
25
26
boxedsdf-update.1: boxedsdf-update boxedsdf-update.inc
	$(HELP2MAN) -S LRDE -i boxedsdf-update.inc \
	  --no-info ./boxedsdf-update -o $@

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