X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2FMakefile.am;h=61fc5f146a39d4609443bca7f1af08776f57e263;hb=142845b3e1e6550e350957b9d24656991eeed942;hp=8f3d13ad5c245c42251fb9da5a3003bcbbe309d5;hpb=b2289301d66a3d4b9b8acf35942bc3713e86fae4;p=citadel.git diff --git a/webcit/Makefile.am b/webcit/Makefile.am index 8f3d13ad5..61fc5f146 100644 --- a/webcit/Makefile.am +++ b/webcit/Makefile.am @@ -12,6 +12,7 @@ DISTFILES=ABOUT_NLS DIRS= static EDITOR_DIRS=tiny_mce +EDITORDIR=@editordir@ @@ -31,14 +32,14 @@ install-data-local: done \ done - export STATIC_DIR=@editor@; \ + export EDITOR_DIR=@editordir@; \ for dir in $(EDITOR_DIRS); do \ - $(mkinstalldirs) $(DESTDIR)/$$STATIC_DIR/$$dir; \ + $(mkinstalldirs) $(DESTDIR)/$$EDITOR_DIR/$$dir; \ for subdir in `find $$dir -type d |grep -v .svn`; do \ - $(mkinstalldirs) $(DESTDIR)/$$STATIC_DIR/$$subdir; \ + $(mkinstalldirs) $(DESTDIR)/$$EDITOR_DIR/$$subdir; \ for file in $(srcdir)/$$subdir/*; do \ if test -f "$$file" ; then \ - $(INSTALL_DATA) $$file $(DESTDIR)$$STATIC_DIR/$$subdir; \ + $(INSTALL_DATA) $$file $(DESTDIR)$$EDITOR_DIR/$$subdir; \ fi \ done \ done \