fix motifless build, keep original LIBS variable
[nedit-bw.git] / delete_target_makefiles.patch
blobcd59df44b1c0f9f1df124aede8c00694ba949e05
1 From: Tony Balinski <ajbj@free.fr>
2 Subject: Makefile: remove the Makefile.<target> links on realclean target
4 Small change from Bert Wesarg, find only symbolic links.
6 ---
8 Makefile | 3 +++
9 1 file changed, 3 insertions(+)
11 diff --quilt old/Makefile new/Makefile
12 --- old/Makefile
13 +++ new/Makefile
14 @@ -52,6 +52,9 @@ clean:
16 realclean: clean
17 (cd doc; $(MAKE) clean)
18 + find . -type l \
19 + -name Makefile.\* ! -name Makefile.common \
20 + -exec sh -c '[ -f makefiles/`basename {}` ] && rm -v {}' \;
23 # The following is for creating binary packages of NEdit.