aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/XpConfig/C/print/Imakefile
blob: fe224df6436bb070e9d7759382b174a7f4a647c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
XCOMM $Xorg: Imakefile,v 1.1 2003/11/20 04:22:52 gisburn Exp $
#define IHaveSubdirs
#define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)"

SUBDIRS = attributes ddx-config models

#if HasGhostScript
all:: Xprinters.ghostscript

# Enable the "xp_pdf_spooldir_tmp_Xprintjobs" printer if we have GS
Xprinters.ghostscript: Xprinters
	sed <Xprinters "s/#Printer xp_pdf_spooldir_tmp_Xprintjobs/Printer xp_pdf_spooldir_tmp_Xprintjobs/" >Xprinters.ghostscript

clean::
	$(RM) Xprinters.ghostscript

InstallNamedNonExec(Xprinters.ghostscript,Xprinters,$(XPRINTDIR)/C/print)
#else
InstallNamedNonExec(Xprinters,Xprinters,$(XPRINTDIR)/C/print)
#endif /* HasGhostScript */

MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))