#
# "$Id: Makefile 343 2007-07-13 19:52:48Z mike $"
#
#   Makefile for the CUPS DDK man pages.
#
#   Copyright 2007 by Apple Inc.
#   Copyright 2002-2007 by Easy Software Products.
#
#   These coded instructions, statements, and computer programs are the
#   property of Apple Inc. and are protected by Federal copyright
#   law.  Distribution and use rights are outlined in the file "LICENSE.txt"
#   which should have been included with this file.  If this file is
#   file is missing or damaged, see the license at "http://www.cups.org/".
#

#
# Include standard definitions...
#

include ../Makedefs


#
# Man pages...
#

MAN1	= \
	commandtoescpx.$(MAN1EXT) \
	commandtopclx.$(MAN1EXT) \
	cupsprofile.$(MAN1EXT) \
	ppdc.$(MAN1EXT) \
	ppdhtml.$(MAN1EXT) \
	ppdi.$(MAN1EXT) \
	ppdmerge.$(MAN1EXT) \
	ppdpo.$(MAN1EXT) \
	rastertoescpx.$(MAN1EXT) \
	rastertopclx.$(MAN1EXT)

MAN5	= \
	ppdcfile.$(MAN5EXT)

TARGETS	= \
	$(MAN1) \
	$(MAN5)


#
# Make everything...
#

all:	$(TARGETS)


#
# Clean everything...
#

clean:
	$(RM) *.bck
	$(RM) $(TARGETS)


#
# Update dependencies...
#

depend:


#
# Install...
#

install:
	$(INSTALL_DIR) $(BUILDROOT)$(mandir)/man1
	for file in $(MAN1); do \
		$(INSTALL_MAN) $$file $(BUILDROOT)$(mandir)/man1/$$file; \
	done
	$(INSTALL_DIR) $(BUILDROOT)$(mandir)/man5
	for file in $(MAN5); do \
		$(INSTALL_MAN) $$file $(BUILDROOT)$(mandir)/man5/$$file; \
	done


#
# Uninstall...
#

uninstall:
	for file in $(MAN1); do \
		$(RM) $(BUILDROOT)$(mandir)/man1/$$file; \
	done
	for file in $(MAN5); do \
		$(RM) $(BUILDROOT)$(mandir)/man5/$$file; \
	done


#
# End of "$Id: Makefile 343 2007-07-13 19:52:48Z mike $".
#
