修訂 | ad2a31c39b8dd1b4b06a698cda9331c8facdc785 (tree) |
---|---|
時間 | 2021-06-17 00:08:47 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
Let $(AUTO_SRC) depend on config.status
The additional dependency makes sure $(AUTO_SRC) wii be regenerated
after re-configured.
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
@@ -97,6 +97,7 @@ libs \ | ||
97 | 97 | depend \ |
98 | 98 | sources \ |
99 | 99 | install :: $(AUTO_SRC) |
100 | +$(AUTO_SRC): ../config.status | |
100 | 101 | |
101 | 102 | curses.h : $(CAPLIST) \ |
102 | 103 | curses.head \ |
@@ -222,6 +222,7 @@ all libs :: $(AUTO_SRC) ../lib $(LIBRARIES) | ||
222 | 222 | @CHECK_BUILD@all libs :: report_offsets$(BUILD_EXEEXT) |
223 | 223 | |
224 | 224 | sources: $(AUTO_SRC) |
225 | +$(AUTO_SRC): ../config.status | |
225 | 226 | |
226 | 227 | $(DESTDIR)$(bindir) \ |
227 | 228 | $(DESTDIR)$(libdir) : |