ZNC: Fix webadmin, allow external config and minor fixes
[openwrt/svn-archive/archive.git] / net / znc / patches / 003-Reduce_rebuild_time.patch
1 From 94aff4c3389111fc85054eb06b40bea26a216d0c Mon Sep 17 00:00:00 2001
2 From: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
3 Date: Sat, 16 Apr 2011 05:51:04 +0200
4 Subject: [PATCH] Don't rebuild everything when the Makefile's timestamp changed
5
6 ---
7 Makefile.in | 2 +-
8 modules/Makefile.in | 2 +-
9 2 files changed, 2 insertions(+), 2 deletions(-)
10
11 --- a/Makefile.in
12 +++ b/Makefile.in
13 @@ -96,7 +96,7 @@ clean:
14 distclean: clean
15 rm -rf $(DISTCLEAN)
16
17 -%.o: %.cpp Makefile
18 +%.o: %.cpp
19 @mkdir -p .depend
20 $(E) Building $@...
21 $(Q)$(CXX) $(CXXFLAGS) -c -o $@ $< -MMD -MF .depend/$@.dep
22 --- a/modules/Makefile.in
23 +++ b/modules/Makefile.in
24 @@ -114,7 +114,7 @@ install_metadirs: create_install_dir
25 clean:
26 rm -rf $(CLEAN)
27
28 -%.so: %.cpp Makefile
29 +%.so: %.cpp
30 @mkdir -p .depend
31 @mkdir -p extra
32 $(E) Building $(if $(filter %extra/,$(dir $<)),extra )module $(notdir $(basename $@))...