Applied patch by Hans-Christoph Steiner
authorHenning Rogge <hrogge@googlemail.com>
Sat, 5 May 2012 10:29:33 +0000 (12:29 +0200)
committerHenning Rogge <hrogge@googlemail.com>
Sat, 5 May 2012 10:29:33 +0000 (12:29 +0200)
See http://olsr.org/bugs/view.php?id=28

Makefile

index 3f1255a..6eb3e85 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -82,7 +82,7 @@ src/builddata.c:
        @echo "const char build_host[] = \"$(shell hostname)\";" >> "$@" 
 
 
-.PHONY: help libs clean_libs libs_clean clean 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 
+.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 
 
 clean:
        -rm -f $(OBJS) $(SRCS:%.c=%.d) $(EXENAME) $(EXENAME).exe src/builddata.c $(TMPFILES)
@@ -93,7 +93,11 @@ clean:
        -rm -fr gui/win32/Main/Release
        -rm -fr gui/win32/Shim/Release
 
-uberclean:     clean clean_libs
+clean_gui:
+       $(MAKE) -C gui/linux-gtk clean
+
+distclean: uberclean
+uberclean:     clean clean_libs clean_gui
        -rm -f $(TAGFILE)
 #      BSD-xargs has no "--no-run-if-empty" aka "-r"
        find . \( -name '*.[od]' -o -name '*~' \) -not -path "*/.hg*" -type f -print0 | xargs -0 rm -f