diff leim/Makefile.in @ 107422:cb7f141ceec5

Merge from trunk
author Jan D. <jan.h.d@swipnet.se>
date Thu, 18 Mar 2010 08:22:27 +0100
parents 4e4e25c1fae4
children 438f784b2966
line wrap: on
line diff
--- a/leim/Makefile.in	Mon Mar 15 09:18:20 2010 +0100
+++ b/leim/Makefile.in	Thu Mar 18 08:22:27 2010 +0100
@@ -40,14 +40,11 @@
 
 GZIP_PROG = @GZIP_PROG@
 
-# On IBM RS6000, double-dot gets screwed up.
-dot = .
-
 # Which Emacs to use to convert TIT files to Emacs Lisp files,
 # byte-compile Emacs Lisp files, and generate the file leim-list.el.
-BUILT-EMACS = ${dot}${dot}/src/emacs
+BUILT-EMACS = ../src/emacs
 
-buildlisppath=${srcdir}/${dot}${dot}/lisp
+buildlisppath=${srcdir}/../lisp
 
 # How to run Emacs.
 RUN-EMACS = EMACSLOADPATH=$(buildlisppath) LC_ALL=C \
@@ -161,7 +158,7 @@
 
 # To ensure that we can run Emacs.  This target is ignored (never
 # being hit) if a user changes default value of EMACS.
-${dot}${dot}/src/emacs:
+../src/emacs:
 	cd ../src; ${MAKE} ${MFLAGS} emacs
 
 ${SUBDIRS}:
@@ -224,7 +221,7 @@
 
 install: all
 	if [ ! -d ${INSTALLDIR} ] ; then \
-          umask 022; ${srcdir}/${dot}${dot}/mkinstalldirs ${INSTALLDIR}; \
+          umask 022; ${srcdir}/../mkinstalldirs ${INSTALLDIR}; \
 	else true; fi
 	if [ x`(cd ${INSTALLDIR} && /bin/pwd)` != x`(/bin/pwd)` ] ; then \
 	  rm -f ${INSTALLDIR}/leim-list.el; \
@@ -278,16 +275,17 @@
 # bootstrapping should not leave non-fresh .elc files behind.
 bootstrap-clean: clean
 	rm -f ${WORLD}
+## FIXME some compiled files go to srcdir, some don't?
+#	cd ${srcdir}; rm -f *.elc */*.elc
 
 distclean: clean
 	if test -f stamp-subdir; then rm -rf ${SUBDIRS} stamp-subdir; fi
 	rm -f Makefile
 
-maintainer-clean: distclean
-	rm -f ${WORLD}
+maintainer-clean: distclean bootstrap-clean
 
 extraclean: maintainer-clean
-	-rm -f *~ \#* m/?*~ s/?*~
+	-rm -f *~ \#* */*~ */\#*
 
 .PHONY: check-declare