X-Git-Url: https://git.distorted.org.uk/~mdw/become/blobdiff_plain/c758e6541ca05409b178dd9629e9337494c49890..7c6720e02bd883a2f77dd7ae55ae5146cd6c272f:/manual/Makefile.am diff --git a/manual/Makefile.am b/manual/Makefile.am index ab9952f..54c50a7 100644 --- a/manual/Makefile.am +++ b/manual/Makefile.am @@ -1,7 +1,7 @@ ## Process this file with `automake' to generate `Makefile.in' ## -*-makefile-*- ## -## $Id: Makefile.am,v 1.4 1998/01/12 16:45:35 mdw Exp $ +## $Id: Makefile.am,v 1.10 2004/04/08 01:36:20 mdw Exp $ ## ## Makefile for `become' ## @@ -26,28 +26,11 @@ ## along with `become'; if not, write to the Free Software Foundation, ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -##----- Revision history ---------------------------------------------------- -## -## $Log: Makefile.am,v $ -## Revision 1.4 1998/01/12 16:45:35 mdw -## Fix copyright date. -## -## Revision 1.3 1997/09/24 13:02:00 mdw -## Distribute stamp-html.in so that the HTML files don't get recreated -## unnecessarily. -## -## Revision 1.2 1997/09/18 11:15:41 mdw -## Build HTML documentation and install it. -## -## Revision 1.1 1997/08/07 09:35:34 mdw -## Added trivial Makefiles. Better write some documentation. -## - ##----- Distribute the right things ----------------------------------------- htmldir = @htmldir@ -EXTRA_DIST = texinfo.tex stamp-html.in +EXTRA_DIST = gpl.texi texinfo.tex texinice.tex stamp-html.in info_TEXINFOS = become.texi noinst_DATA = become_*.html @@ -58,16 +41,22 @@ stamp-html.in: $(srcdir)/become.texi echo datestamp >$(srcdir)/stamp-html.in install-data-local: stamp-html.in - $(mkinstalldirs) $(htmldir) - cd $(srcdir); for i in become_*.html; do \ - $(INSTALL_DATA) $$i $(htmldir)/$$i; \ + $(mkinstalldirs) $(DESTDIR)$(htmldir) + for i in $(srcdir)/become/become_*.html; do \ + $(INSTALL_DATA) $$i $(DESTDIR)$(htmldir); \ done uninstall-local: rm -f $(htmldir)/become_*.html +dist-hook: + distdir=`cd $(distdir) && pwd`; \ + cd $(srcdir); \ + mkdir $$distdir/become; \ + ln become/become_*.html $$distdir/become + MAINTAINERCLEANFILES = \ - $(srcdir)/stamp-html.in $(srcdir)/become_*.html \ + $(srcdir)/stamp-html.in $(srcdir)/become/become_*.html \ $(srcdir)/become.info* ##----- That's all, folks ---------------------------------------------------