Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /doc/trunk/src/man/Makefile.in
ViewVC logotype

Diff of /doc/trunk/src/man/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3906, Mon Aug 18 13:24:18 2014 UTC revision 3916, Wed Aug 20 14:12:30 2014 UTC
# Line 11  Line 11 
11  @SET_MAKE@  @SET_MAKE@
12    
13  A2X =           @A2X@  A2X =           @A2X@
14    ASCIIDOC =      @ASCIIDOC@
15    
16  # Section 1 pages  # Section 1 pages
17  #  #
# Line 29  Line 30 
30  MAN1_PAGES =    $(TXT1_FILES:.txt=)  MAN1_PAGES =    $(TXT1_FILES:.txt=)
31  MAN7_PAGES =    $(TXT7_FILES:.txt=)  MAN7_PAGES =    $(TXT7_FILES:.txt=)
32    
33  HTML =          $(TXT_FILES:.txt=)  HTML =          $(TXT_FILES:.txt=.html)
34    
35    .PHONEY:        man
36  man:            $(MAN1_PAGES) $(MAN7_PAGES)  man:            $(MAN1_PAGES) $(MAN7_PAGES)
37                    mkdir -p man/man1 man/man7
38                    cp -p $(MAN1_PAGES) @ROOT_DIR@/man/man1
39                    cp -p $(MAN7_PAGES) @ROOT_DIR@/man/man7
40    
41    .PHONEY:        html
42    html:           $(HTML)
43    
44  % : %.txt  % : %.txt
45          $(A2X) --doctype manpage --format manpage $<          $(A2X) --doctype manpage --format manpage $<
46    
47    %.html : %.txt
48            $(ASCIIDOC) -d manpage -b html5 $<
49    
50  #################### Cleanup ####################  #################### Cleanup ####################
51    
52  CLEAN_SUBDIRS =  CLEAN_SUBDIRS =
# Line 43  Line 54 
54  CLEAN_FILES =  CLEAN_FILES =
55    
56  DISTCLEAN_FILES +=      Makefile \  DISTCLEAN_FILES +=      Makefile \
57                          $(MAN1_PAGES) $(MAN2_PAGES)                          $(MAN1_PAGES) $(MAN2_PAGES) \
58                            $(HTML)
59    
60  include @ROOT_DIR@/mk/clean-rules.gmk  include @ROOT_DIR@/mk/clean-rules.gmk

Legend:
Removed from v.3906  
changed lines
  Added in v.3916

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0