# ex: set ro:
# DO NOT EDIT THIS FILE
# Generated by Parrot::Configure::Compiler from config/gen/makefiles/docs.in

# Copyright (C) 2001-2006, Parrot Foundation.
# $Id: docs.in 38239 2009-04-20 22:15:54Z fperrad $

# Setup of some commands
PERL    := /usr/bin/perl
CHMOD   := $(PERL) -MExtUtils::Command -e ExtUtils::Command::chmod
MKPATH  := $(PERL) -MExtUtils::Command -e mkpath
RM_F    := $(PERL) -MExtUtils::Command -e rm_f
RM_RF   := $(PERL) -MExtUtils::Command -e rm_rf
PERLDOC := echo
VERSION := 1.7.0-devel

# long list of .pod files
POD := 

#
# Targets
#

# The default target
all: doc-prep packfile-c.pod $(POD)

# This is a listing of all targets, that are meant to be called by users
# Most of them are proxied in the root makefile parrot/Makefile
help :
	@echo ""
	@echo "Following targets are available to the user:"
	@echo ""
	@echo "  all:               Generate documentation from .pod files or from the sources."
	@echo "                     This is the default target."
	@echo "  clean:             Remove the generated documentation."
	@echo "  html:              Generate HTML documentation."
	@echo "  html-clean:        Remove the generated HTML documentation."
	@echo ""

doc-prep:
	$(MKPATH) ops

packfile-c.pod: ../src/packfile.c
	$(PERLDOC) -u ../src/packfile.c > packfile-c.pod

clean:
	$(RM_F) packfile-c.pod $(POD)

html: all
	$(PERL) -I../lib ../tools/docs/write_docs.pl --silent --version=$(VERSION)

html-clean:
	$(RM_RF) html

htmlhelp: html

htmlhelp-clean:



# Local variables:
#   mode: makefile
# End:
# vim: ft=make:
