Combine generator subdirectories into one.
[wrappi.git] / Makefile.am
index 8731aaf..a0eba9c 100644 (file)
@@ -1,5 +1,5 @@
 # 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 = preprocessor 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