* fixed debian build
[citadel.git] / webcit / Makefile.am
index 5672f1319996785e8a29e7988f9ff004b2c5e4fb..12d055012bf3bffc7fd9cd20128003d945df36c6 100644 (file)
@@ -17,11 +17,7 @@ DIRS=tiny_mce static
 
 install-data-local:
                @$(NORMAL_INSTALL); \
-               if test -n "@STATIC_DIR@" ; then \
-                       export STATIC_DIR=@STATIC_DIR@; \
-               else \
-                       export STATIC_DIR=$(prefix); \
-               fi; \
+               export STATIC_DIR=@staticdir@; \
                for dir in $(DIRS); do \
                        $(mkinstalldirs) $(DESTDIR)/$$STATIC_DIR/$$dir; \
                        for subdir in `find $$dir -type d |grep -v .svn`; do \