File: make-fixes.diff

package info (click to toggle)
mgp 1.13a%2Bupstream20090219-14
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 4,196 kB
  • sloc: ansic: 32,387; sh: 4,286; lisp: 1,405; yacc: 945; lex: 264; makefile: 158; perl: 117; awk: 9
file content (24 lines) | stat: -rw-r--r-- 735 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# DP: the imake-generated Makefiles do subdir distclean already

--- a/Imakefile.in
+++ b/Imakefile.in
@@ -137,9 +137,6 @@ distclean:: clean
 	-/bin/rm -f config.status config.log config.cache ctlwords.h
 	-/bin/rm -f scanner.c grammar.c tokdefs.h mgp.0 mgp2ps.0 mgpembed.pl
 	-/bin/rm -f contrib/mgp2html.pl contrib/mgp2latex.pl
-	for i in $(SUBDIRS); do \
-		(cd $$i; if [ -f Makefile ]; then make distclean; fi); \
-	done
 	-/bin/rm -f Makefile Imakefile
 
 /*EOF*/
--- a/contrib/Imakefile
+++ b/contrib/Imakefile
@@ -17,7 +17,4 @@ depend::
 install::
 
 distclean:: clean
-	for i in $(SUBDIRS); do \
-		(cd $$i; if [ -f Makefile ]; then make distclean; fi) ;\
-	done
 	-/bin/rm -f mgpnet mgpnet.0 mgp2latex.pl mgp2html.pl Makefile