12d055012bf3bffc7fd9cd20128003d945df36c6
[citadel.git] / webcit / Makefile.am
1 PACKAGE = @PACKAGE@
2 VERSION = @VERSION@
3
4 SUBDIRS= po src 
5
6 EXTRA_DIST= autoconf/config.rpath autoconf/mkinstalldirs  m4/ChangeLog tiny_mce_DATA static_DATA
7 ACLOCAL_AMFLAGS = -I m4
8
9 DISTFILES=ABOUT_NLS
10 # usual unix way would be here: $(datadir)/$(PACKAGE)
11 #STATIC_DIR=@STATIC_DIR@
12
13 DIRS=tiny_mce static
14
15
16
17
18 install-data-local:
19                 @$(NORMAL_INSTALL); \
20                 export STATIC_DIR=@staticdir@; \
21                 for dir in $(DIRS); do \
22                         $(mkinstalldirs) $(DESTDIR)/$$STATIC_DIR/$$dir; \
23                         for subdir in `find $$dir -type d |grep -v .svn`; do \
24                                 $(mkinstalldirs) $(DESTDIR)/$$STATIC_DIR/$$subdir; \
25                                         for file in $(srcdir)/$$subdir/*; do \
26                                                 if test -f "$$file" ; then \
27                                                         $(INSTALL_DATA) $$file $(DESTDIR)$$STATIC_DIR/$$subdir; \
28                                                 fi \
29                                         done \
30                         done \
31                 done