"Fossies" - the Fresh Open Source Software Archive

Member "grace-5.1.25/doc/Makefile" (14 Feb 2015, 2416 Bytes) of package /linux/misc/grace-5.1.25.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "Makefile": 5.1.24_vs_5.1.25.

    1 #####################################################
    2 # Makefile for documentation of Grace               #
    3 #####################################################
    4 # You should not change anything here.              #
    5 #####################################################
    6 
    7 TOP=..
    8 
    9 include $(TOP)/Make.conf
   10 
   11 .SUFFIXES : .sgml .dvi .html .pdf .ps .tex
   12 
   13 # NB: the language and papersize options should be made `configure'able
   14 LANGUAGE    = english
   15 PAPERSIZE   = letter
   16 
   17 LINUXDOC    = linuxdoc --language=$(LANGUAGE) --papersize=$(PAPERSIZE)
   18 
   19 SGML2HTML   = $(LINUXDOC) --backend=html  --split=0 --toc=2
   20 SGML2LATEX  = $(LINUXDOC) --backend=latex --output=tex
   21 SGML2DVI    = $(LINUXDOC) --backend=latex --output=dvi
   22 SGML2PDF    = $(LINUXDOC) --backend=latex --output=pdf
   23 DVI2PS      = dvips -t $(PAPERSIZE)
   24 LATEX       = latex
   25 PDFLATEX    = pdflatex
   26 
   27 .sgml.html :
   28 	$(SGML2HTML) $<
   29 
   30 .sgml.dvi :
   31 	$(SGML2DVI) $<
   32 	
   33 .sgml.pdf :
   34 	$(SGML2PDF) $<
   35 	
   36 .sgml.tex :
   37 	$(SGML2LATEX) $<
   38 
   39 .tex.dvi :
   40 	$(LATEX) $<
   41 	$(LATEX) $<
   42 
   43 .dvi.ps :
   44 	$(DVI2PS) $< -o $@
   45 
   46 .tex.pdf :
   47 	$(PDFLATEX) $<
   48 	$(PDFLATEX) $<
   49 
   50 SGMLS    = FAQ.sgml Tutorial.sgml UsersGuide.sgml 
   51 HTMLS    = CHANGES.html GPL.html philosophical-gnu-sm.jpg nohelp.html
   52 
   53 HTMLDOCS = FAQ.html Tutorial.html UsersGuide.html
   54 
   55 DVIDOCS  = FAQ.dvi Tutorial.dvi UsersGuide.dvi
   56 
   57 PSDOCS   = FAQ.ps Tutorial.ps UsersGuide.ps
   58 
   59 PDFDOCS  = FAQ.pdf Tutorial.pdf UsersGuide.pdf
   60 
   61 TEXDOCS  = FAQ.tex Tutorial.tex UsersGuide.tex
   62 
   63 TUTDATA  = 2.1.dat 3.dat 7.1.2.agr 7.1.3.agr 8.2.dat \
   64            10.1.dat 10a.dat 10c.dat 10b.dat shiftdata.sh mygraph.png
   65 
   66 MANPAGES = grace.1 gracebat.1 xmgrace.1 grconvert.1 convcal.1
   67 
   68 all : html pdf
   69 
   70 html : $(HTMLDOCS)
   71 
   72 dvi  : $(DVIDOCS)
   73 
   74 pdf  : $(PDFDOCS)
   75 
   76 ps   : $(PSDOCS)
   77 
   78 tex  : $(TEXDOCS)
   79 
   80 clean :
   81 	$(RM) $(TEXDOCS) *.aux *.log *.toc *.out
   82 
   83 distclean : clean
   84 	$(RM) *.orig
   85 
   86 devclean : distclean
   87 	$(RM) $(DVIDOCS) $(PSDOCS) $(PDFDOCS) $(HTMLDOCS)
   88 
   89 install : $(HTMLS) $(HTMLDOCS) $(PDFDOCS) $(TUTDATA) $(MANPAGES)
   90 	$(MKINSTALLDIRS) $(DESTDIR)$(GRACE_HOME)/doc
   91 	for i in $?; do $(INSTALL_DATA) $$i $(DESTDIR)$(GRACE_HOME)/doc; done
   92 
   93 $(DESTDIR)$(GRACE_HOME)/doc/grace.1 : $(MANPAGES)
   94 	$(MAKE) install
   95 
   96 links : $(DESTDIR)$(GRACE_HOME)/doc/grace.1
   97 	$(MKINSTALLDIRS) $(DESTDIR)$(PREFIX)/man
   98 	$(MKINSTALLDIRS) $(DESTDIR)$(PREFIX)/man/man1
   99 	cd $(DESTDIR)$(PREFIX)/man/man1; \
  100 	for i in $(MANPAGES); do $(RM) $$i; $(LN_S) $(GRACE_HOME)/doc/$$i $$i; done
  101 
  102 tests : dummy
  103 
  104 dummy :