]> code.citadel.org Git - citadel.git/blobdiff - webcit/Makefile.in
build fix
[citadel.git] / webcit / Makefile.in
index 600b46ce43f66412814a6b722b85e28e1ce92277..63eff9fae1ba59db0a7dd3aa67f5afed386b7672 100644 (file)
@@ -8,6 +8,7 @@ INSTALL=@INSTALL@
 LIBOBJS=@LIBOBJS@
 LIBS=@LIBS@
 LDFLAGS=@LDFLAGS@
+SED=@SED@
 SETUP_LIBS=@SETUP_LIBS@
 PTHREAD_DEFS=@PTHREAD_DEFS@
 srcdir=@srcdir@
@@ -29,7 +30,8 @@ clean:
        rm -f *.o webcit webserver
 
 distclean: clean
-       rm -f Makefile config.cache config.log config.status\
+       rm -f Makefile config.cache config.log config.status \
+               po/Makefile po/Makefile.in \
                $(srcdir)/TAGS
 
 setup: setup.o tools.o
@@ -64,7 +66,7 @@ webserver: webserver.o context_loop.o tools.o ical_dezonify.o \
        $(CC) $(CFLAGS) $(DEFS) -c $(PTHREAD_DEFS) -DWEBCITDIR=\"$(prefix)\" -DLOCALEDIR=\"$(prefix)/locale\" $<
 
 Makefile: $(srcdir)/Makefile.in config.status
-       CONFIG_FILES="Makefile po/Makefile" CONFIG_HEADERS= $(SHELL) ./config.status
+       CONFIG_FILES="Makefile" CONFIG_HEADERS= $(SHELL) ./config.status
 
 config.status: $(srcdir)/configure
        $(SHELL) ./config.status --recheck
@@ -79,11 +81,16 @@ install:
                ; do \
                test -d $(root)$(prefix)/$$i || mkdir $(root)$(prefix)/$$i; \
        done
+       for i in `find locale -type d | grep -v .svn` \
+               ; do \
+               test -d $(root)$(prefix)/$$i || mkdir $(root)$(prefix)/$$i; \
+       done
        for i in \
                webserver \
                setup \
                `find static -type f | grep -v .svn` \
                `find tiny_mce -type f | grep -v .svn` \
+               `find locale -type f | grep -v .svn` \
                ; do \
                $(INSTALL) $$i $(root)$(prefix)/$$i; \
        done