--disable-editor
- From: Roland Illig <roland illig gmx de>
- To: MC Devel <mc-devel gnome org>
- Subject: --disable-editor
- Date: Fri, 03 Dec 2004 20:38:18 +0100
Hi,
I don't see a reason to include the syntax files if mcedit is not
installed. So here's a patch for it.
Roland
Index: syntax/Makefile.am
===================================================================
RCS file: /cvsroot/mc/mc/syntax/Makefile.am,v
retrieving revision 1.21
diff -u -p -u -p -r1.21 Makefile.am
--- syntax/Makefile.am 27 Oct 2004 13:29:51 -0000 1.21
+++ syntax/Makefile.am 3 Dec 2004 19:39:09 -0000
@@ -1,6 +1,4 @@
-syntaxdir = $(pkgdatadir)/syntax
-
-syntax_DATA = \
+SYNTAXFILES = \
Syntax \
ada95.syntax \
aspx.syntax \
@@ -41,4 +39,9 @@ syntax_DATA = \
unknown.syntax \
xml.syntax
-EXTRA_DIST = $(syntax_DATA)
+if USE_EDIT
+syntaxdir = $(pkgdatadir)/syntax
+syntax_DATA = $(SYNTAXFILES)
+endif
+
+EXTRA_DIST = $(SYNTAXFILES)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]