chiark / gitweb /
manual/Makefile.am: Install the HTML version of the manual correctly. master
authorMark Wooding <mdw@distorted.org.uk>
Tue, 14 Mar 2006 17:19:02 +0000 (17:19 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 14 Mar 2006 17:19:02 +0000 (17:19 +0000)
Somewhere along the line, texi2html started producing its output in a
directory.  The Makefile failed to track this change.

manual/Makefile.am

index 8dba071a12a253f21e082a677662a4c9a4ecec5f..54c50a740595246c281b484b4462907934e0b5ae 100644 (file)
@@ -42,7 +42,7 @@ stamp-html.in: $(srcdir)/become.texi
 
 install-data-local: stamp-html.in
        $(mkinstalldirs) $(DESTDIR)$(htmldir)
-       for i in $(srcdir)/become_*.html; do \
+       for i in $(srcdir)/become/become_*.html; do \
          $(INSTALL_DATA) $$i $(DESTDIR)$(htmldir); \
        done
 
@@ -52,10 +52,11 @@ uninstall-local:
 dist-hook:
        distdir=`cd $(distdir) && pwd`; \
        cd $(srcdir); \
-       ln become_*.html $$distdir
+       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 ---------------------------------------------------