home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 106 / EnigmaAmiga106CD.iso / software / sviluppo / ahisrc / docs / makefile.in < prev    next >
Encoding:
Makefile  |  1999-03-28  |  3.7 KB  |  157 lines

  1. #  $Id: Makefile.in,v 1.7 1999/03/28 22:32:45 lcs Exp $
  2. #
  3. #  Makefile.in for the user and developer documentation
  4. #
  5.  
  6. #
  7. # Autoconfig stuff
  8. ########################################
  9.  
  10. @SET_MAKE@
  11.  
  12. top_srcdir    = @top_srcdir@
  13. srcdir        = @srcdir@
  14. DISTDIR        = @DISTDIR@
  15.  
  16. DEVDIR        = ${DISTDIR}/Developer
  17. USRDIR        = ${DISTDIR}/User
  18.  
  19. DEVDOCDIR    = ${DEVDIR}/Docs
  20. USRDOCDIR    = ${USRDIR}/Docs
  21.  
  22. build_os    = @build_os@
  23.  
  24. INSTALL        = @INSTALL@
  25. INSTALL_DATA    = @INSTALL_DATA@
  26.  
  27. VPATH        = @srcdir@
  28.  
  29.  
  30. #
  31. # Files
  32. ########################################
  33.  
  34. TARGETS        = ahidev.readme ahiusr.readme \
  35.           ahidev.guide ahiusr.guide \
  36.           ahidev.dvi ahiusr.dvi \
  37.           ahidev.ps ahiusr.ps \
  38.           ahidev.html ahiusr.html
  39.  
  40.  
  41. #
  42. # Targets
  43. ########################################
  44.  
  45. .PHONY:        all clean distclean maintainer-clean bindist changes
  46.  
  47. all:        $(TARGETS)
  48.  
  49. clean:
  50.     $(RM) $(TARGETS) ahidev.ver ahiusr.ver \
  51.           ahidev.texinfo-exp ahiusr.texinfo-exp tmp-iso.sty\
  52.           *.cps *.fns *.tps *.vrs *.ky *.pg *.log *.aux *.cp *.fn *.vr *.tp *.toc \
  53.           *.bak *~ \#*\# core
  54.  
  55. distclean:    clean
  56.     $(RM) Makefile
  57.  
  58. maintainer-clean: distclean
  59.  
  60. bindist:    $(TARGETS)
  61.     $(INSTALL) --directory $(USRDOCDIR) $(DEVDOCDIR)
  62.     $(INSTALL_DATA) ahidev.readme $(DISTDIR)
  63.     $(INSTALL_DATA) $(srcdir)/ahidev.readme.info $(DISTDIR)
  64.     $(INSTALL_DATA) ahiusr.readme $(DISTDIR)
  65.     $(INSTALL_DATA) $(srcdir)/ahiusr.readme.info $(DISTDIR)
  66.     for i in ahidev.guide ahidev.dvi ahidev.ps ahidev.html; do \
  67.       $(INSTALL_DATA) $$i $(DEVDOCDIR); \
  68.     done
  69.     for i in ahiusr.guide ahiusr.dvi ahiusr.ps ahiusr.html; do \
  70.       $(INSTALL_DATA) $$i $(USRDOCDIR); \
  71.     done
  72.  
  73. changes:
  74.     $(EDITOR) $(srcdir)/readme.changes
  75.  
  76. #
  77. # Auto-remake autoconf stuff
  78. ########################################
  79.  
  80. Makefile: Makefile.in ../config.status
  81.     (cd .. && ./config.status)
  82.  
  83.  
  84. #
  85. # Rules
  86. ########################################
  87.  
  88. tmp-iso.sty:    iso.sty
  89.     cp $< $@
  90.  
  91. # readme files
  92.  
  93. ahidev.readme:    readme.dev readme.changes readme.main \
  94.         $(top_srcdir)/version.ver $(top_srcdir)/version.rev
  95.     ver="`cat $(top_srcdir)/version.ver`.`cat $(top_srcdir)/version.rev`" &&\
  96.     cat $(srcdir)/readme.dev $(srcdir)/readme.changes $(srcdir)/readme.main | sed -e "s/AHIVERSION/$$ver/" > $@
  97.  
  98. ahiusr.readme:    readme.usr readme.changes readme.main $(top_srcdir)/version.rev
  99.     ver="`cat $(top_srcdir)/version.ver`.`cat $(top_srcdir)/version.rev`" &&\
  100.     cat $(srcdir)/readme.usr $(srcdir)/readme.changes $(srcdir)/readme.main | sed -e "s/AHIVERSION/$$ver/" > $@
  101.  
  102.  
  103. # AmigaGuideĀ® files
  104.  
  105. ahidev.guide:    ahidev.texinfo ahidev.ver
  106.     makeinfo --amiga --output ahidev.guide $<
  107.  
  108. ahiusr.guide:    ahiusr.texinfo ahiusr.ver
  109.     makeinfo --amiga --output ahiusr.guide $<
  110.  
  111.  
  112. # DVI files
  113.  
  114. ahidev.dvi:    ahidev.texinfo-exp tmp-iso.sty
  115.     texi2dvi $<
  116.  
  117. ahiusr.dvi:    ahiusr.texinfo-exp tmp-iso.sty
  118.     texi2dvi $<
  119.  
  120.  
  121. # PS files
  122.  
  123. ahidev.ps:    ahidev.dvi
  124.     dvips -o $@ $<
  125.  
  126. ahiusr.ps:    ahiusr.dvi
  127.     dvips -o $@ $<
  128.  
  129.  
  130. # HTML files
  131.  
  132. ahidev.html:    ahidev.texinfo ahidev.ver
  133.     texi2html -glossary -monolithic -verbose $<
  134.  
  135. ahiusr.html:    ahiusr.texinfo ahiusr.ver
  136.     texi2html -glossary -monolithic -verbose $<
  137.  
  138.  
  139. # Macro-expanded files
  140.  
  141. ahidev.texinfo-exp:    ahidev.texinfo ahidev.ver
  142.     makeinfo -E $@ --output /dev/null $<
  143.  
  144. ahiusr.texinfo-exp:    ahiusr.texinfo ahiusr.ver
  145.     makeinfo -E $@ --output /dev/null $<
  146.  
  147.  
  148. # Auto-generated version files
  149.  
  150. ahidev.ver:    ahidev.texinfo $(top_srcdir)/version.ver $(top_srcdir)/version.rev
  151.     echo "@set ahiver `cat $(top_srcdir)/version.ver`.`cat $(top_srcdir)/version.rev`" > $@
  152.     grep '$$Id' $< | sed -e 's/^.*Id: .* \(.*\)\.\(.*\) \(....\)\/\(..\)\/\(..\).*/@set docver \1.\2 (\3-\4-\5)/' >> $@
  153.  
  154. ahiusr.ver:    ahiusr.texinfo $(top_srcdir)/version.ver $(top_srcdir)/version.rev
  155.     echo "@set ahiver `cat $(top_srcdir)/version.ver`.`cat $(top_srcdir)/version.rev`" > $@
  156.     grep '$$Id' $< | sed -e 's/^.*Id: .* \(.*\)\.\(.*\) \(....\)\/\(..\)\/\(..\).*/@set docver \1.\2 (\3-\4-\5)/' >> $@
  157.