diff Makefile.am @ 0:ad85b8813e8a

Fetched a URL
author Adam Chlipala <adam@chlipala.net>
date Tue, 11 Jan 2011 10:31:48 -0500
parents
children 287a0e02f1a6
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile.am	Tue Jan 11 10:31:48 2011 -0500
@@ -0,0 +1,28 @@
+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 src/ur/*.urs $(LIB_UR)/
+	cp src/ur/*.ur $(LIB_UR)/
+	cp src/ur/*.urp $(LIB_UR)/
+	mkdir -p $(INCLUDE)
+	cp include/*.h $(INCLUDE)/
+	-ldconfig
+
+package:
+	hg archive -t tgz /tmp/urweb_feed.tgz
+
+reauto:
+	-autoreconf
+	libtoolize -cf
+	automake --add-missing --force-missing --copy
+	autoreconf