"Fossies" - the Fresh Open Source Software Archive

Member "gretl-2020b/addons/HIP/doc/Makefile.in" (17 Mar 2020, 767 Bytes) of package /linux/misc/gretl-2020b.tar.xz:


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 last Fossies "Diffs" side-by-side code changes report for "Makefile.in": 2020a_vs_2020b.

    1 topsrc = @top_srcdir@
    2 TEXDIR = $(topsrc)/doc/tex
    3 
    4 PKG = HIP
    5 DOCDIR = $(topsrc)/addons/$(PKG)/doc
    6 
    7 FIGS = HIP-sshot1.png \
    8        HIP-sshot2.png \
    9        HIP-sshot3.png
   10 
   11 SRCS = $(PKG).bib $(PKG).tex $(FIGS) gretl.bst gretlhds.sty
   12 
   13 $(PKG).pdf: $(SRCS)
   14 	@pdflatex $(PKG) && bibtex $(PKG) && pdflatex $(PKG) && pdflatex $(PKG)
   15 	@if grep 'Rerun to get' $(PKG).log ; then pdflatex $(PKG) ; fi
   16 
   17 $(SRCS): | symlinks
   18 
   19 .PHONY : symlinks clean
   20 
   21 symlinks:
   22 	@for f in gretl.bst gretlhds.sty ; do \
   23 	if [ ! -f $$f ] || [ $(TEXDIR)/$$f -nt $$f ] ; then ln -sf $(TEXDIR)/$$f . ; fi ; done
   24 	@for f in $(PKG).bib $(PKG).tex $(FIGS) ; do \
   25 	if [ ! -f $$f ] || [ $(DOCDIR)/$$f -nt $$f ] ; then ln -sf $(DOCDIR)/$$f . ; fi ; done
   26 
   27 clean:
   28 	@rm -f *.log *.aux *.bbl *.blg *.toc $(PKG).pdf
   29