[ostree] build: 'make clean' removes parse-datetime.c
- From: Giuseppe Scrivano <gscrivano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] build: 'make clean' removes parse-datetime.c
- Date: Sun, 7 Feb 2016 13:56:49 +0000 (UTC)
commit b0163d618274004990a0a24c5f1d2564861e4861
Author: Giuseppe Scrivano <gscrivan redhat com>
Date: Fri Jan 29 11:02:17 2016 +0100
build: 'make clean' removes parse-datetime.c
and fix make dist while at it.
Signed-off-by: Giuseppe Scrivano <gscrivan redhat com>
Makefile-libostree.am | 5 ++++-
Makefile-ostree.am | 2 ++
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/Makefile-libostree.am b/Makefile-libostree.am
index 238cb0b..23fa949 100644
--- a/Makefile-libostree.am
+++ b/Makefile-libostree.am
@@ -182,7 +182,10 @@ pkgconfig_DATA += src/libostree/ostree-1.pc
gpgreadme_DATA = src/libostree/README-gpg
gpgreadmedir = $(pkgdatadir)/trusted.gpg.d
-EXTRA_DIST += src/libostree/README-gpg src/libostree/bupsplit.h
+EXTRA_DIST += src/libostree/README-gpg src/libostree/bupsplit.h \
+ src/libostree/ostree-enumtypes.h.template \
+ src/libostree/ostree-enumtypes.c.template \
+ src/libostree/ostree-deployment-private.h
install-mkdir-remotes-d-hook:
mkdir -p $(DESTDIR)$(sysconfdir)/ostree/remotes.d
diff --git a/Makefile-ostree.am b/Makefile-ostree.am
index 384479d..76fb26f 100644
--- a/Makefile-ostree.am
+++ b/Makefile-ostree.am
@@ -89,6 +89,8 @@ ostree_SOURCES += \
src/ostree/parse-datetime.c: src/ostree/parse-datetime.y Makefile
$(AM_V_GEN) $(YACC) $< -o $@
+EXTRA_DIST += src/ostree/parse-datetime.y
+CLEANFILES += src/ostree/parse-datetime.c
ostree_bin_shared_cflags = $(AM_CFLAGS) -I$(srcdir)/src/libotutil -I$(srcdir)/src/libostree
-I$(srcdir)/src/ostree \
$(NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]