summaryrefslogtreecommitdiff
path: root/Makefile-libostree.am
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-08-26 12:46:14 -0400
committerColin Walters <walters@verbum.org>2012-08-26 13:58:23 -0400
commitc63cca53d71d85a057d5fa6580da034bf1679526 (patch)
tree29f855e814cbf383dff6c1cd742b43c3875a35e4 /Makefile-libostree.am
parente2aabce708f2b52771258eb15ff60c634c5f4764 (diff)
downloadostree-c63cca53d71d85a057d5fa6580da034bf1679526.tar.gz
build: Add --enable-triggers-only
For bootstrapping gnome-ostree, we need to install the triggers early on, before we actually build the real ostree binary.
Diffstat (limited to 'Makefile-libostree.am')
-rw-r--r--Makefile-libostree.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile-libostree.am b/Makefile-libostree.am
index 89e7b191..e4dadaea 100644
--- a/Makefile-libostree.am
+++ b/Makefile-libostree.am
@@ -17,7 +17,9 @@
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
+if !TRIGGERS_ONLY
privlib_LTLIBRARIES += libostree.la
+endif
libostree_la_SOURCES = src/libostree/ostree.h \
src/libostree/ostree-core.c \
@@ -56,4 +58,4 @@ libostree_la_LIBADD += $(OT_DEP_LIBARCHIVE_LIBS)
endif
install-data-hook:
- rm $(DESTDIR)$(privlibdir)/libostree.la
+ rm -f $(DESTDIR)$(privlibdir)/libostree.la