Combine generator subdirectories into one.
[wrappi.git] / Makefile.am
index 300b8f8..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
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 ACLOCAL_AMFLAGS = -I m4
+
+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