view Makefile.am @ 21:7275f59cab61

tagAOR and a Reddit example of using it
author Adam Chlipala <adam@chlipala.net>
date Sat, 29 Sep 2012 10:30:00 -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