Call libite configure script if local libite is used

The new libite uses autotools to build, and since we use it as a GIT
submodule we have to call its autogen.sh before we call the configure
script, from within the Finit configure script.  We may have to move
to use autotools even for Finit ...

Also, make sure to only call clean/distclean on libite if the local
version is selected at configure time.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2016-02-05 21:06:46 +01:00
1 parent 97a160dd1d
commit 4899bba06b
2 files changed
+17 -1

No files matched your search

+4
View File
@@ -144,13 +144,17 @@ uninstall: uninstall-exec uninstall-data uninstall-dev
clean:
+$(MAKE) -C plugins $@
ifndef LIBITE
+$(MAKE) -C libite $@
endif
+$(MAKE) -C libuev $@
-@$(RM) $(OBJS) $(DEPS) $(EXEC) 2>/dev/null
distclean: clean
+$(MAKE) -C plugins $@
ifndef LIBITE
+$(MAKE) -C libite $@
endif
+$(MAKE) -C libuev $@
-@$(RM) $(JUNK) config.mk config.h unittest *.o *.html 2>/dev/null