From b3202cecf6a051d726f9af5d080aeb89257b0a98 Mon Sep 17 00:00:00 2001
From: Mathieu Lirzin <mthl@gnu.org>
Date: Fri, 26 Jun 2015 19:30:24 +0200
Subject: build: Add missing 'makefile.am'.

* scm/mcron/makefile.am: New file.
* .gitignore: Ignore 'mcron' only in the top-level directory.
---
 .gitignore            |  2 +-
 scm/mcron/makefile.am | 15 +++++++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)
 create mode 100644 scm/mcron/makefile.am

diff --git a/.gitignore b/.gitignore
index f8096eb..00fa239 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,7 +13,7 @@ depcomp
 install-sh
 makefile
 makefile.in
-mcron
+/mcron
 mcron.c
 mcron.info
 *.o
diff --git a/scm/mcron/makefile.am b/scm/mcron/makefile.am
new file mode 100644
index 0000000..931b03b
--- /dev/null
+++ b/scm/mcron/makefile.am
@@ -0,0 +1,15 @@
+EXTRA_DIST = main.scm mcron-core.scm vixie-specification.scm \
+             crontab.scm environment.scm job-specifier.scm redirect.scm \
+             vixie-time.scm
+
+pkgdata_DATA = core.scm environment.scm job-specifier.scm redirect.scm \
+               vixie-time.scm vixie-specification.scm config.scm
+
+
+# If you're wondering, the configure script keeps deleting all files with a name
+# like core.*, so we have to keep re-making it (I lost a good day's work because
+# of this).
+
+core.scm : mcron-core.scm
+	$(CP) mcron-core.scm core.scm
+
-- 
cgit v1.2.3