mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
20 lines
546 B
Diff
20 lines
546 B
Diff
|
diff --git i/libvaladoc/Makefile.am w/libvaladoc/Makefile.am
|
||
|
index 8dc398cf1..a5d8a45b4 100644
|
||
|
--- i/libvaladoc/Makefile.am
|
||
|
+++ w/libvaladoc/Makefile.am
|
||
|
@@ -176,9 +176,13 @@ endif
|
||
|
libvaladoc@PACKAGE_SUFFIX@_la_SOURCES = \
|
||
|
libvaladoc.vala.stamp \
|
||
|
$(libvaladoc_la_VALASOURCES:.vala=.c) \
|
||
|
- gvc-compat.c \
|
||
|
$(NULL)
|
||
|
|
||
|
+if ENABLE_GRAPHVIZ
|
||
|
+libvaladoc@PACKAGE_SUFFIX@_la_SOURCES += \
|
||
|
+ gvc-compat.c
|
||
|
+endif
|
||
|
+
|
||
|
valadoc@PACKAGE_SUFFIX@.vapi valadoc.h: libvaladoc.vala.stamp
|
||
|
libvaladoc.vala.stamp: $(libvaladoc_la_VALASOURCES)
|
||
|
$(VALA_V)$(VALAC) \
|