quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

Makefile.am (2167B)


      1 #***************************************************************************
      2 #                                  _   _ ____  _
      3 #  Project                     ___| | | |  _ \| |
      4 #                             / __| | | | |_) | |
      5 #                            | (__| |_| |  _ <| |___
      6 #                             \___|\___/|_| \_\_____|
      7 #
      8 # Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
      9 #
     10 # This software is licensed as described in the file COPYING, which
     11 # you should have received as part of this distribution. The terms
     12 # are also available at https://curl.se/docs/copyright.html.
     13 #
     14 # You may opt to use, copy, modify, merge, publish, distribute and/or sell
     15 # copies of the Software, and permit persons to whom the Software is
     16 # furnished to do so, under the terms of the COPYING file.
     17 #
     18 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
     19 # KIND, either express or implied.
     20 #
     21 # SPDX-License-Identifier: curl
     22 #
     23 ###########################################################################
     24 
     25 AUTOMAKE_OPTIONS = foreign no-dependencies
     26 
     27 MANPAGE = curl.1
     28 ASCIIPAGE = curl.txt
     29 
     30 # Get SUPPORT, DPAGES variables
     31 include Makefile.inc
     32 
     33 EXTRA_DIST = $(DPAGES) MANPAGE.md $(SUPPORT) CMakeLists.txt mainpage.idx
     34 
     35 GEN = $(GN_$(V))
     36 GN_0 = @echo "  GENERATE" $@;
     37 GN_1 =
     38 GN_ = $(GN_0)
     39 
     40 MANAGEN=$(top_srcdir)/scripts/managen
     41 MAXLINE=$(top_srcdir)/scripts/maxline
     42 
     43 # Maximum number of columns accepted in the ASCII version of the manpage
     44 INCDIR=$(top_srcdir)/include
     45 
     46 if BUILD_DOCS
     47 CLEANFILES = $(MANPAGE) $(ASCIIPAGE)
     48 man_MANS = $(MANPAGE)
     49 
     50 all: $(MANPAGE) $(ASCIIPAGE)
     51 
     52 endif
     53 
     54 $(MANPAGE): $(DPAGES) $(SUPPORT) mainpage.idx Makefile.inc $(MANAGEN)
     55 	$(GEN)(rm -f $(MANPAGE) && @PERL@ $(MANAGEN) -d $(srcdir) -I $(INCDIR) mainpage $(DPAGES) > manpage.tmp.$$$$ && mv manpage.tmp.$$$$ $(MANPAGE))
     56 
     57 $(ASCIIPAGE): $(DPAGES) $(SUPPORT) mainpage.idx Makefile.inc $(MANAGEN)
     58 	$(GEN)(rm -f $(ASCIIPAGE) && @PERL@ $(MANAGEN) -d $(srcdir) -I $(INCDIR) ascii $(DPAGES) > asciipage.tmp.$$$$ && mv asciipage.tmp.$$$$ $(ASCIIPAGE))
     59 
     60 listhelp:
     61 	$(MANAGEN) -d $(srcdir) listhelp $(DPAGES) > $(top_builddir)/src/tool_listhelp.c
     62 
     63 listcats:
     64 	@$(MANAGEN) listcats $(DPAGES)