# wrappi
-# Copyright (C) 2011 Red Hat Inc.
+# Copyright (C) 2011-2012 Red Hat Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
ACLOCAL_AMFLAGS = -I m4
-# The API files are actually linked into the generator, but an extra
-# camlp4-based preprocessor must be compiled first before we can
-# compile the rest of the generator. Hence the rather convoluted set
-# of subdirectories here.
-SUBDIRS = generator-lib generator-macros APIs generator
+SUBDIRS = generator APIs
# The C library.
SUBDIRS += lib
+# The daemon (wrappid) used for remote access.
+SUBDIRS += daemon
+
# Build the C example programs.
SUBDIRS += examples
CLEANFILES = *~
+
+dist-hook:
+ rm -f lib/LIB_MINOR
+ echo $$(( ( $$(date +%s) - $$(date -d 2011-12-27 +%s) ) / 86400 )) \
+ > lib/LIB_MINOR-t
+ mv lib/LIB_MINOR-t lib/LIB_MINOR