aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.am
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2014-08-22 05:54:47 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2014-08-22 05:54:47 +0200
commit30d8bf3e2835dbb0bf6876a6a1d4dd227ba335a9 (patch)
tree6e09c7ef38b00e0088104b38152a941e17fbea4e /Makefile.am
parenta27b5d46c846f1e593b7ed475c6e315ca2051daf (diff)
downloadsciteco-30d8bf3e2835dbb0bf6876a6a1d4dd227ba335a9.tar.gz
automatically build Scintilla as part of SciTECO's build system:
this should simplify building SciTECO for new users * compiler and archiver are passed down from Autoconf, so cross-compiling should work transparently * `make clean` will also clean the Scintilla source tree * there is no longer any need for "source bundles" as tar balls also contain Scintilla/Scinterm now * building from Git is not much more difficult than building from a tar ball * The versions of Scintilla/Scinterm embedded as submodules already contain all the patches necessary (currently none are necessary), so there's no need to have patch files in the repository * INSTALL instructions have been rewritten * the --with-scintilla and --with-scinterm site-config options have been kept. But they should be rarely necessary now.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am12
1 files changed, 9 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index b3aaf24..c019f96 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,7 +6,13 @@ noinst_HEADERS = compat/bsd/sys/cdefs.h \
compat/bsd/sys/queue.h \
compat/bsd/sys/tree.h
-EXTRA_DIST = $(wildcard @top_srcdir@/patches/*.patch) \
- README
+EXTRA_DIST = README TODO
-EXTRA_DIST += TODO
+# Distribute entire scintilla directory and
+# do some manual cleanup
+EXTRA_DIST += scintilla
+dist-hook:
+ rm -rf `find $(distdir)/scintilla -name *.o` \
+ $(distdir)/scintilla/bin/scintilla.a
+ rm -rf `find $(distdir)/scintilla -name ".git*"` \
+ `find $(distdir)/scintilla -name ".hg*"`