Makefile: add cfgparser_install and cfgparser_clean targets
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 25 Jun 2013 09:31:10 +0000 (11:31 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 25 Jun 2013 09:31:42 +0000 (11:31 +0200)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Makefile

index eca82e7..12fb03e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -93,7 +93,7 @@ src/builddata.c:
        $(MAKECMDPREFIX)echo "const char build_host[] = \"$(shell hostname)\";" >> "$@" 
 
 
-.PHONY: help libs clean_libs libs_clean clean distclean uberclean install_libs uninstall_libs libs_install libs_uninstall install_bin uninstall_bin install_olsrd uninstall_olsrd install uninstall build_all install_all uninstall_all clean_all gui clean_gui 
+.PHONY: help libs clean_libs libs_clean clean distclean uberclean install_libs uninstall_libs libs_install libs_uninstall install_bin uninstall_bin install_olsrd uninstall_olsrd install uninstall build_all install_all uninstall_all clean_all gui clean_gui cfgparser_install cfgparser_clean
 
 clean:
        -rm -f $(OBJS) $(SRCS:%.c=%.d) $(EXENAME) $(EXENAME).exe src/builddata.c $(TMPFILES)
@@ -127,6 +127,12 @@ install: install_olsrd
 
 uninstall: uninstall_olsrd
 
+cfgparser_install: cfgparser
+               $(MAKECMDPREFIX)$(MAKECMD) -C $(CFGDIR) install
+
+cfgparser_clean:
+               $(MAKECMDPREFIX)$(MAKECMD) -C $(CFGDIR) clean
+
 install_bin:
                mkdir -p $(SBINDIR)
                install -m 755 $(EXENAME) $(SBINDIR)