wget-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Wget-dev] wget2 | Question : How to build the manual of wget2 ? (#4


From: Seb M
Subject: Re: [Wget-dev] wget2 | Question : How to build the manual of wget2 ? (#429)
Date: Tue, 30 Apr 2019 13:41:08 +0000



@rockdaboot All this `git` thing for a tiny change in one file is starting to 
become a pain in the @ss, especially for a `git` rookie like me :-) : 

```diff
$ git checkout -b tmp-split-docs
Switched to a new branch 'tmp-split-docs'
$ git status -bs
## tmp-split-docs
$ git show
commit 99edb70cc853e3fdcbd11633ebe98cf81c3e5002 (HEAD -> tmp-split-docs, master)
Author: sebma <address@hidden>
Date:   Mon Apr 29 21:11:20 2019 +0200

    Copyright-paperwork-exempt: Yes
    Test if doxygen OR pandoc is present to build the docs

diff --git a/configure.ac b/configure.ac
index 33bca07b..0a4a17ae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -336,28 +336,32 @@ AM_CONDITIONAL([HAVE_PO], [ test "$have_po" = yes ])
 #
 # check for doxygen and pandoc
 #
-AC_ARG_ENABLE(doc, AS_HELP_STRING([--disable-doc], [don't generate any 
documentation]),
+AC_ARG_ENABLE(doc, AS_HELP_STRING([--disable-doc], [don t generate any 
documentation]),
   enable_doc=$enableval, enable_doc=yes)
 if test "$enable_doc" = yes; then
   AC_CHECK_PROGS([DOXYGEN], [doxygen])
   AC_CHECK_PROGS([PANDOC], [pandoc])
 
   if test -n "$DOXYGEN" || test -n "$PANDOC"; then
-    DOCS_INFO="yes (found:"
+    LIBWGET_DOCS_INFO="yes (found:"
     if test -n "$DOXYGEN"; then
-      DOCS_INFO="$DOCS_INFO Doxygen"
+      LIBWGET_DOCS_INFO+=" Doxygen)"
+       else
+         LIBWGET_DOCS_INFO="no"
     fi
$ git push
fatal: The current branch tmp-split-docs has no upstream branch.
To push the current branch and set the remote as upstream, use

    git push --set-upstream origin tmp-split-docs
```

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget2/issues/429#note_165600265
You're receiving this email because of your account on gitlab.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]