summaryrefslogtreecommitdiffabout
path: root/Makefile.am
blob: c3fef99e9cfacee54ee3746217ace5c719e0435d (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
SUBDIRS=include lib
EXTRA_DIST = NEWS NEWS.xml NEWS.xsl

DISTCHECK_CONFIGURE_FLAGS=--with-pkgconfigdir=$${dc_install_base}/lib/pkgconfig
if HAVE_PKGCONFIG
pkgconfigdir=@PKGCONFIG_DIR@
pkgconfig_DATA=konforka.pc
endif

LOCAL_TARGETS=
if HAVE_DOXYGEN
LOCAL_TARGETS+=doxygen
endif

all-local: NEWS $(addprefix all-lota-,${LOCAL_TARGETS})
clean-local: $(addprefix clean-lota-,${LOCAL_TARGETS})

NEWS: NEWS.xsl NEWS.xml
	${XSLTPROC} -o $@ NEWS.xsl NEWS.xml

all-lota-doxygen: doxydox/built
doxydox/built: $(wildcard ${top_srcdir}/include/konforka/*.h)
	${DOXYGEN}
	touch $@

clean-lota-doxygen:
	rm -rf doxydox