summaryrefslogtreecommitdiff
path: root/src/=Makefile.in
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-06-30 13:54:21 +0000
committerJim Blandy <jimb@redhat.com>1992-06-30 13:54:21 +0000
commit8a097b5b08f3e017994e2df07a618d58fc023df3 (patch)
treedaa1bb7d7f8787084cece10dbc017eaf68cfab16 /src/=Makefile.in
parentc46996887ff22382a0c27c882a38ddcdd5e71415 (diff)
downloademacs-8a097b5b08f3e017994e2df07a618d58fc023df3.tar.gz
*** empty log message ***
Diffstat (limited to 'src/=Makefile.in')
-rw-r--r--src/=Makefile.in16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/=Makefile.in b/src/=Makefile.in
index 8cb7bdbdefa..0717ee9644b 100644
--- a/src/=Makefile.in
+++ b/src/=Makefile.in
@@ -2,7 +2,7 @@ MAKE = make
# BSD doesn't have it as a default.
CC =gcc
-CPP = $(CC) -E
+CPP = $(CC) -E -Is -Im
#Note: an alternative is CPP = /lib/cpp
# Just to avoid uncertainty.
@@ -19,7 +19,7 @@ distclean:
-rm -f paths.h config.h machine.h system.h emacs-* temacs xemacs xmakefile core *~ \#* *.o
clean:
- -rm -f temacs xemacs xmakefile core \#* *.o
+ -rm -f temacs xemacs xmakefile* core \#* *.o
xemacs: xmakefile doxemacs
@@ -34,10 +34,16 @@ dotemacs:
# If you have a problem with cc -E here, changing
# the definition of CPP above may fix it.
xmakefile: ymakefile config.h
- -rm -f xmakefile junk.c
+ -rm -f xmakefile xmakefile.new junk.c junk.cpp
cp ymakefile junk.c
- $(CPP) junk.c | sed -e 's/^#.*//' -e 's/^[ \f\t][ \f\t]*$$//' -e 's/^ / /' | \
- sed -n -e '/^..*$$/p' > xmakefile
+ $(CPP) junk.c > junk.cpp
+ < junk.cpp \
+ sed -e 's/^#.*//' \
+ -e 's/^[ \f\t][ \f\t]*$$//' \
+ -e 's/^ / /' \
+ | sed -n -e '/^..*$$/p' \
+ > xmakefile.new
+ mv -f xmakefile.new xmakefile
rm -f junk.c
tags TAGS: