view Makefile.am @ 23:e1e451cf85bb

Simplify Reddit example more
author Adam Chlipala <adam@chlipala.net>
date Sat, 29 Sep 2012 10:34:11 -0400
parents 287a0e02f1a6
children
line wrap: on
line source
ACLOCAL_AMFLAGS = -I m4

LIB      := @LIB@
INCLUDE  := @INCLUDE@

LIB_UR   := $(LIB)/ur/feed

SUBDIRS  := src/c

.PHONY: package reauto

install-exec-local:
	mkdir -p $(LIB_UR)
	cp "${srcdir}"/src/ur/*.urs "$(LIB_UR)/"
	cp "${srcdir}"/src/ur/*.ur "$(LIB_UR)/"
	cp "${srcdir}"/src/ur/*.urp "$(LIB_UR)/"
	mkdir -p "$(INCLUDE)"
	cp "${srcdir}"/include/*.h "$(INCLUDE)/"
	-ldconfig

package:
	hg archive -t tgz /tmp/urweb_feed.tgz

reauto:
	-autoreconf
	libtoolize -cf
	automake --add-missing --force-missing --copy
	autoreconf