Source

lookup / Makefile.in

Diff from to

File Makefile.in

 emacsdir = @emacsdir@
 lispdir = @lispdir@
 
-EXTRA_DIST = README.W32
-SUBDIRS = lisp texi etc
+EXTRA_DIST = VERSION install.el etc packages
+SUBDIRS = lisp texi 
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_CLEAN_FILES = 
 	@for file in $(DISTFILES); do \
 	  d=$(srcdir); \
 	  if test -d $$d/$$file; then \
-	    cp -pr $$/$$file $(distdir)/$$file; \
+	    cp -pr $$d/$$file $(distdir)/$$file; \
 	  else \
 	    test -f $(distdir)/$$file \
 	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
 	      || exit 1; \
 	  fi; \
 	done
+	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
 info-am:
 info: info-recursive
 dvi-am:
 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
 
 
+dist-hook:
+	find $(distdir) -type f \
+		-name "*~" -o -name "*.bak" -o -name "*.orig" -o \
+		-type d -name "CVS" -print \
+		| xargs rm -rf; \
+
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT: