diff options
author | Darren Tucker <dtucker@dtucker.net> | 2020-05-02 18:29:40 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2020-05-02 18:29:40 +1000 |
commit | 83657eac42941f270c4b02b2c46d9a21f616ef99 (patch) | |
tree | ce672a29524a4ba7e2d8e7008d4e309cec91b229 /Makefile.in | |
parent | d25d630d24c5a1c64d4e646510e79dc22d6d7b88 (diff) |
Remove use of tail for 'make depend'.
Not every tail supports +N and we can do with out it so just remove it.
Prompted by mforney at mforney.org.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in index 304d96cd0..cf9c9b38d 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -350,10 +350,11 @@ depend: depend-rebuild | |||
350 | rm -f .depend.bak | 350 | rm -f .depend.bak |
351 | 351 | ||
352 | depend-rebuild: | 352 | depend-rebuild: |
353 | rm -f config.h | 353 | rm -f config.h .depend |
354 | touch config.h | 354 | touch config.h .depend |
355 | makedepend -w1000 -Y. -f .depend *.c 2>/dev/null | 355 | makedepend -w1000 -Y. -f .depend *.c 2>/dev/null |
356 | (head -2 .depend; tail +3 .depend | sort) >.depend.tmp | 356 | (echo '# Automatically generated by makedepend.'; \ |
357 | echo '# Run "make depend" to rebuild.'; sort .depend ) >.depend.tmp | ||
357 | mv .depend.tmp .depend | 358 | mv .depend.tmp .depend |
358 | rm -f config.h | 359 | rm -f config.h |
359 | 360 | ||