#
# "$Id: Makefile 311 2007-02-16 20:00:26Z mike $"
#
#   Makefile for the CUPS DDK man pages.
#
#   Copyright 2002-2007 by Easy Software Products.
#
#   These coded instructions, statements, and computer programs are the
#   property of Easy Software Products 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 missing or damaged please contact Easy Software Products
#   at:
#
#       Attn: CUPS Licensing Information
#       Easy Software Products
#       44141 Airport View Drive, Suite 204
#       Hollywood, Maryland 20636 USA
#
#       Voice: (301) 373-9600
#       EMail: cups-info@cups.org
#         WWW: 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 311 2007-02-16 20:00:26Z mike $".
#
