aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.am
blob: 6a866baee3e819d2264ecc8df400e429eccde801 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Required in addition to AC_CONFIG_MACRO_DIR() to
# silence libtoolize:
ACLOCAL_AMFLAGS = -I m4

if REPLACE_MALLOC
MAYBE_DLMALLOC = contrib/dlmalloc
endif
SUBDIRS = lib $(MAYBE_DLMALLOC) contrib/rb3ptr src doc tests

dist_pkgdata_DATA = sample.teco_ini

EXTRA_DIST = README TODO

# Only the lower resolution PNG icons are installed as they are
# required by the GTK UI.
# Other uses are left to the distro package manager.
dist_pkgdata_DATA += ico/sciteco-16.png ico/sciteco-32.png \
                     ico/sciteco-48.png
EXTRA_DIST += ico/sciteco-256.png ico/sciteco.ico

# Distribute entire scintilla directory and
# do some manual cleanup
dist-hook:
	cp -r $(srcdir)/scintilla $(distdir)
	rm -rf `find $(distdir)/scintilla -name *.o` \
	       $(distdir)/scintilla/bin/scintilla.a
	rm -rf `find $(distdir)/scintilla -name ".git*"` \
	       `find $(distdir)/scintilla -name ".hg*"`