| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 | ## Makefile.in for gnuplot-mode## Based on original Makefile# by Lars Hecking  <lhecking@nmrc.ucc.ie> 1999-02-25## Modified to install .el files along with .elc files# BR May 17 2002SHELL = /bin/shprefix = @prefix@datadir = @datadir@lispdir = @lispdir@srcdir = @srcdir@subdir = lisptop_builddir = .top_srcdir = @top_srcdir@@SET_MAKE@EMACS = @EMACS@MAKEINFO = @MAKEINFO@LATEX = latexDVIPS = dvipsINSTALL = @INSTALL@INSTALL_DATA = @INSTALL_DATA@VPATH = @srcdir@# Command to byte-compileBYTEC = $(EMACS) -batch -q -no-site-file -l $(srcdir)/dot.el -f batch-byte-compileELCS = info-look.elc gnuplot.elc gnuplot-gui.elcDIST_COMMON = ChangeLog Makefile.dst Makefile.in README aclocal.m4 configure \configure.inEXTRA_DIST = dot.el dotemacs gnuplot-gui.el gnuplot.el gnuplot.el.old \gpelcard.tex info-look.20.2.el info-look.20.3.elDISTFILES = $(DIST_COMMON) $(EXTRA_DIST)default: $(ELCS)gnuplot.elc: gnuplot.el	test "$(srcdir)" = "$(top_builddir)" || cp $(srcdir)/gnuplot.el .	$(BYTEC) gnuplot.elgnuplot-gui.elc: gnuplot.elc gnuplot-gui.el	test "$(srcdir)" = "$(top_builddir)" || cp $(srcdir)/gnuplot-gui.el .	$(BYTEC) gnuplot-gui.el## There are many possibilities for info-look:####     EMACS version            use##  -----------------------------------------##   Emacs or XEmacs 19    info-look.20.2.el##   Emacs 20.2 or less    info-look.20.2.el##   Emacs 20.3            nothing##   XEmacs 20+            info-look.20.3.el#### want to use my modified version even if 20.2 is installed because a## bug is fixed#### the first 6 lines attempt to ascertain the version number of## $(EMACS), then multiply by 100 to convert it to an integer for the## sake of the integer comparisons in the following lines.  Is this a## hassle, or what?!##MESSAGE = compiling info-look for $(EMACS) $$vnuminfo-look.elc:  info-look.20.2.el info-look.20.3.el	@if [ $(EMACS) = "emacs" ]; \	  then vnum=`emacs  --version | grep 'Emacs [12]' | awk '{print $$3}'`; \	  else vnum=`xemacs --version | grep 'Emacs [12]' | awk '{print $$2}'`; \	fi; \	vn=`echo "$$vnum" | awk 'BEGIN{FS="."}{print $$1 "." $$2}'`; \	version=`echo "$$vn" | awk '{print 100*$$1}'`; \	if [ $(EMACS) = "emacs" -a $$version -ge 2030 ]; \	  then echo "no need to compile info-look for $(EMACS) $$vnum"; \	  else echo "$(MESSAGE)"; \	fi; \	if   [ $(EMACS) = "emacs"  -a $$version -lt 2030 ]; \	  then echo Using info-look.20.2.el; \	  cp $(srcdir)/info-look.20.2.el info-look.el; \	elif [ $(EMACS) = "xemacs" -a $$version -ge 2000 ]; \	  then echo Using info-look.20.3.el; \	  cp $(srcdir)/info-look.20.3.el info-look.el; \	elif [ $(EMACS) = "xemacs" -a $$version -lt 2000 ]; \	  then echo Using info-look.20.2.el; \	  cp $(srcdir)/info-look.20.2.el info-look.el; \	fi ;\	if [ ! \( $(EMACS) = "emacs" -a $$version -ge 2030 \) ]; \	  then $(BYTEC) info-look.el; fi;ps: gpelcard.psgpelcard.ps: gpelcard.dvi	$(DVIPS) -o gpelcard.ps gpelcard.dvigpelcard.dvi: gpelcard.tex	$(LATEX) $(srcdir)/gpelcard.texall: gnuplot.elc info-look.elc gnuplot-gui.elcinstall:	mkinstalldirs $(lispdir)	@for p in *.el *.elc; do \	  echo " $(INSTALL_DATA) $$p $(lispdir)/$$p"; \	  $(INSTALL_DATA) $$p $(lispdir)/$$p; \	donedistdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)subdir = lispdistdir: $(DISTFILES)	distdir=`cd $(distdir) && pwd`	@for file in $(DISTFILES); do \	  d=$(srcdir); \	  if test -d $$d/$$file; then \	    cp -pr $$d/$$file $(distdir)/$$file; \	  else \	    test -f $(distdir)/$$file \	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \	    || cp -p $$d/$$file $(distdir)/$$file || :; \	  fi; \	donecheck-am: all-amcheck: check-aminstallcheck-am:installcheck: installcheck-aminstall-exec-am:install-exec: install-exec-am.PHONY: tags distdir info-am info dvi-am dvi check check-am \installcheck-am installcheck install-exec-am install-exec \install-data-am install-data install-am install uninstall-am uninstall \all-redirect all-am all installdirs mostlyclean-generic \distclean-generic clean-generic maintainer-clean-generic clean \mostlyclean distclean maintainer-cleanclean:	-rm -f *.elc info-look.el gpelcard.ps gpelcard.dvi gpelcard.log \	  gpelcard.aux	test "$(srcdir)" = "$(top_builddir)" || rm -f gnuplot.el gnuplot-gui.eldistclean: clean	rm -f Makefile config.status config.log config.cache# 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:
 |