~ubuntu-branches/ubuntu/hardy/foomatic-filters/hardy-updates

« back to all changes in this revision

Viewing changes to Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Chris Lawrence
  • Date: 2006-01-13 18:24:58 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060113182458-13omf0g2nxbo5o8t
Tags: 3.0.2-20060113-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
# Makefile to install foomatic-filters
3
 
# $Revision: 3.4.2.5 $
 
3
# $Revision: 3.4.2.6 $
4
4
 
5
5
# PREFIX defaults to /usr/local for manually installed progs, so that they
6
6
# are not messed up on a system upgrade.
34
34
# Paths for CUPS
35
35
CUPS=@CUPS@
36
36
CUPS_FILTERS=@CUPS_FILTERS@
 
37
CUPS_BACKENDS=@CUPS_BACKENDS@
37
38
 
38
39
# Paths for PPR
39
40
PPR=@PPR@
47
48
 
48
49
# Files generated by the AC_OUTPUT call of "./configure"
49
50
AC_OUTPUT_FILES:=Makefile makeMan foomatic-gswrapper \
50
 
        foomatic-rip
 
51
        foomatic-rip beh
51
52
 
52
53
# User programs and helper programs
53
54
BINFILES:=foomatic-gswrapper foomatic-rip
74
75
 
75
76
install-cups: check-config
76
77
        ${SRC}/mkinstalldirs $(DESTDIR)$(CUPS_FILTERS)
 
78
        ${SRC}/mkinstalldirs $(DESTDIR)$(CUPS_BACKENDS)
77
79
        ln -sf $(BINDIR)/foomatic-rip $(DESTDIR)$(CUPS_FILTERS)
 
80
        ${INSTALL} -m 755 beh $(DESTDIR)$(CUPS_BACKENDS)
78
81
 
79
82
install-ppr: check-config
80
83
        ${SRC}/mkinstalldirs $(DESTDIR)$(PPR_INTERFACES)
100
103
#       cp -f *.8 $(DESTDIR)$(MANDIR)/man8
101
104
 
102
105
build:  man
103
 
        chmod a+rx foomatic-rip foomatic-gswrapper
 
106
        chmod a+rx foomatic-rip foomatic-gswrapper beh
104
107
 
105
108
man:
106
109
        chmod a+rx ./makeMan
156
159
 
157
160
uninstall-cups: check-config
158
161
        rm -f $(DESTDIR)$(CUPS_FILTERS)/foomatic-rip
 
162
        rm -f $(DESTDIR)$(CUPS_BACKENDS)/beh
159
163
        rmdir $(DESTDIR)$(CUPS_FILTERS) || :
 
164
        rmdir $(DESTDIR)$(CUPS_BACKENDS) || :
160
165
        rmdir $(DESTDIR)$(CUPS) || :
161
166
 
162
167
uninstall-ppr: check-config