Ticket #1216: tt1216-try2.patch

File tt1216-try2.patch, 1.2 KB (added by doughera, 12 years ago)
  • config/gen/makefiles/docs.in

    old new  
    11# Copyright (C) 2001-2006, Parrot Foundation. 
    2 # $Id: docs.in 42900 2009-12-05 13:51:11Z jkeenan $ 
     2# $Id: docs.in 42898 2009-12-05 01:42:30Z jkeenan $ 
    33 
    44# Setup of some commands 
    55PERL    := @perl@ 
    66CHMOD   := @chmod@ 
    77MKPATH  := @mkpath@ 
     8TOUCH   := @touch@ 
    89RM_F    := @rm_f@ 
    910RM_RF   := @rm_rf@ 
    1011PERLDOC := @perldoc@ 
     
    1819# 
    1920 
    2021# The default target 
    21 all: doc-prep packfile-c.pod $(POD) 
     22all: packfile-c.pod $(POD) 
    2223 
    2324# This is a listing of all targets, that are meant to be called by users 
    2425# Most of them are proxied in the root makefile parrot/Makefile 
     
    3334        @echo "  html-clean:        Remove the generated HTML documentation." 
    3435        @echo "" 
    3536 
     37$(POD): doc-prep 
     38 
    3639doc-prep: 
    3740        $(MKPATH) ops 
     41        $(TOUCH) doc-prep 
    3842 
    3943packfile-c.pod: ../src/packfile.c 
    4044#IF(new_perldoc):       $(PERLDOC) -ud packfile-c.pod ../src/packfile.c 
    4145#ELSE:  $(PERLDOC) -u ../src/packfile.c > packfile-c.pod 
    4246 
    4347clean: 
    44         $(RM_F) packfile-c.pod $(POD) 
     48        $(RM_F) packfile-c.pod $(POD) doc-prep 
    4549 
    4650html: all 
    4751        $(PERL) -I../lib ../tools/docs/write_docs.pl --silent --version=$(VERSION)