#/do/not/make
# ^^^ help emacs out :/

# Sample toc-driven top-level Makefile.

include toc.make
ifeq ($(TOC_MAKE),)
toc.make:
	@echo "You must run configure once before running make."; exit 1
endif

SUBDIRS = src

INSTALL_BINS += $(PACKAGE_NAME)-config
INSTALL_PKGCONFIG = $(PACKAGE_NAME).pc


CLEAN_FILES += .toc*
DISTCLEAN_FILES += *~ $(PACKAGE_NAME)-config $(PACKAGE_NAME).pc


DIST_FILES += configure configure.$(PACKAGE_NAME) \
		find_toc.sh toc.$(PACKAGE_NAME).make.at \
		ChangeLog LICENSE README INSTALL


all: subdirs

