6 EXTRA_DIST= autoconf/config.rpath autoconf/mkinstalldirs m4/ChangeLog tiny_mce_DATA static_DATA
7 ACLOCAL_AMFLAGS = -I m4
10 # usual unix way would be here: $(datadir)/$(PACKAGE)
11 #STATIC_DIR=@STATIC_DIR@
20 if test -n "@STATIC_DIR@" ; then \
21 export STATIC_DIR=@STATIC_DIR@; \
23 export STATIC_DIR=$(prefix); \
25 for dir in $(DIRS); do \
26 $(mkinstalldirs) $(DESTDIR)/$$STATIC_DIR/$$dir; \
27 for subdir in `find $$dir -type d |grep -v .svn`; do \
28 $(mkinstalldirs) $(DESTDIR)/$$STATIC_DIR/$$subdir; \
29 for file in $(srcdir)/$$subdir/*; do \
30 if test -f "$$file" ; then \
31 $(INSTALL_DATA) $$file $(DESTDIR)$$STATIC_DIR/$$subdir; \