doc: doc-gendoc-install rule.
authorng0 <ng0@infotropique.org>
Fri, 27 Oct 2017 16:14:30 +0000 (16:14 +0000)
committerng0 <ng0@infotropique.org>
Fri, 27 Oct 2017 16:14:30 +0000 (16:14 +0000)
contrib/packages/guix/gnunet-doc.scm
doc/documentation/Makefile.am

index b1ede6612e9c34bac3832b4911c8ad4df616ff3d..8e775e801861dd5746657daa896086779ed38076 100644 (file)
                ;;(zero? (system* "make" "doc-all-give-me-the-noise"))))
            (replace 'install
              (lambda _
-               (zero? (system* "make" "doc-all-install")))))))
+               (zero? (system* "make" "doc-gendoc-install")))))))
              ;;(lambda* (#:key outputs #:allow-other-keys)
                ;; (let* ((out (assoc-ref outputs "out"))
                ;;        (doc (string-append out "/share/doc/gnunet")))
index 5bcf3d2a3f1a9d03c30bab5c808914b1d92fac8c..de23ea142ab40ba97199e6c5afdd5d7d5f1d17c3 100644 (file)
@@ -185,6 +185,10 @@ doc-all-install:
        @install gnunet.html $(DESTDIR)/$(docdir)
        @install gnunet-c-tutorial.html $(DESTDIR)/$(docdir)
 
+doc-gendoc-install:
+       @mkdir -p $(DESTDIR)/$(docdir)
+       @install -m 0755 manual $(DESTDIR)/$(docdir)
+
 #      @cp -r images $(DESTDIR)/$(infoimagedir)
 
 dev-build: version.texi version2.texi
@@ -208,6 +212,7 @@ clean:
        @rm gnunet-c-tutorial.html
        @rm -r gnunet.t2p
        @rm -r gnunet-c-tutorial.t2p
+       @rm -r manual
 
 # CLEANFILES =                                         \
 #      gnunet.log                                      \