src/rrdd.c et al.: Use the tree implementation from GLib 2.0.
[rrdd.git] / src / Makefile.am
index 9c670f1..b97c84d 100644 (file)
@@ -10,5 +10,10 @@ rrdc_SOURCES = rrdc.c rrdd.h rrdc.h
 rrdc_LDADD = librrdc.la
 
 rrdd_SOURCES = rrdd.c rrdd.h
-rrdd_LDADD = -lavl -lrrd_th
+rrdd_CPPFLAGS = $(GLIB_CPPFLAGS)
+rrdd_LDADD = $(GLIB_LDADD) -lrrd_th
 
+all-local: rrdd.1
+
+%.1: %.pod
+       pod2man --release=$(VERSION) --center=rrdd $< >$@