#===========================================================================
#=                                                                         =
#=  (C) Copyright 1995, Computer Technology Institute (CTI)                =
#=                                                                         =
#=  Permission to use, copy, modify and distribute this software and       =
#=  its documentation for non-commercial use and without fee is hereby     =
#=  granted, provided that the above copyright notice appear in all        =
#=  copies and that both that copyright notice and this permission         =
#=  notice and warranty disclaimer appear in supporting documentation,     =
#=  and that the name of Computer Technology Institute (CTI) or any of     =
#=  its entities not be used in advertising or publicity pertaining to     =
#=  distribution of the software and its documentation without specific    =
#=  prior permission.                                                      =
#=                                                                         =
#=  Computer Technology Institute (CTI) disclaims all warranties with      =
#=  regard to this software and makes no representations about the         =
#=  suitability of this software and its documentation for any purpose.    =
#=  It is provided "as is" without expressed or implied warranty.          =
#=                                                                         =
#===========================================================================
#=                                                                         =
#=                        Project CTI-Print                                =
#=                                                                         =
#= File:                                                                   =
#=   Makefile                                                              =
#=                                                                         =
#= Synopsis:                                                               =
#=   This is the Makefile to install the setup files.                      =
#=                                                                         =
#= Author:                                                                 =
#=   Panos Dimakopoulos, Systems Programmer,                               =
#=   Computer Technology Institute,                                        =
#=   Division of Computing Facilities,                                     =
#=   P.O. Box 1122,                                                        =
#=   261 10  Patras,                                                       =
#=   Greece                                                                =
#=   (e-mail: dimakop@cti.gr)                                              =
#=   Tel: +30 61 992061                                                    =
#=   Fax: +30 61 993973                                                    =
#=                                                                         =
#===========================================================================
#


#============================================================================
#= Modification History:
#= 	Revision 1.1	94/11/23	16:20:29
#=		 Creation.
#=
#= 	Revision 1.2	94/11/24	16:41:36
#=		Ownerships, groupships and modes of configuration files are
#=		set correctly at installation time in order to make sure 
#=		they are writable by filters.
#= 	Revision 1.3	95/02/10	17:10:21
#=		Full CTI address.
#= 	Revision 1.4	95/02/13	19:58:47
#=		Make.inc moved to parent directory.
#= 	Revision 1.5	95/02/15	12:49:12
#=		Old file is saved in a file having the suffix "hp4".
#=		Otherwise we have double saving in the same file (both from
#=		the hpiii and the hp4 installation) and data is lost.
#=.
#

include ../../Make.inc

all: host_fonts printer_perms

install: host_fonts printer_perms
	-mv ${ETC}/host_fonts.${HOST} ${ETC}/host_fonts.${HOST}.hp4
	cp host_fonts ${ETC}/host_fonts.${HOST}
	chown daemon ${ETC}/host_fonts.${HOST}
	chgrp daemon ${ETC}/host_fonts.${HOST}
	chmod 664 ${ETC}/host_fonts.${HOST}
	-mv ${ETC}/printer_perms.${HOST} ${ETC}/printer_perms.${HOST}.hp4
	cp printer_perms ${ETC}/printer_perms.${HOST}
	chown daemon ${ETC}/printer_perms.${HOST}
	chgrp daemon ${ETC}/printer_perms.${HOST}
	chmod 664 ${ETC}/printer_perms.${HOST}

