Skip to content
Browse files

Changed configure script to use variables where possible

  • Loading branch information...
1 parent bf4f53f commit 301733744f5ab290a10c7926ea2db185214aba6b @simoncadman committed Oct 9, 2011
Showing with 6 additions and 10 deletions.
  1. 0 LICENSE → COPYING
  2. +6 −10 Makefile.in
View
0 LICENSE → COPYING
File renamed without changes.
View
16 Makefile.in
@@ -1,4 +1,6 @@
prefix = @prefix@
+srcdir = @srcdir@
+INSTALL = install
all: cloudprint.ppd
@@ -8,14 +10,8 @@ cloudprint.ppd:
clean:
rm cloudprint.ppd
-test:
- echo "${prefix}"
-
install:
- cp backend.py ${prefix}/usr/libexec/cups/backend/cloudprint
- mkdir -p ${prefix}/usr/local/lib/cloudprint-cups/
- cp submitjob.py ${prefix}/usr/local/lib/cloudprint-cups/
- cp config.py ${prefix}/usr/local/lib/cloudprint-cups/
- cp cloudprint.ppd ${prefix}/usr/share/cups/model/CloudPrint.ppd
- chown root:root ${prefix}/usr/libexec/cups/backend/cloudprint
- chmod 700 ${prefix}/usr/libexec/cups/backend/cloudprint
+ ${INSTALL} -D -g root -o root -m 700 ${srcdir}/backend.py /usr/libexec/cups/backend/cloudprint
+ ${INSTALL} -D ${srcdir}/submitjob.py ${prefix}/lib/cloudprint-cups/submitjob.py
+ ${INSTALL} ${srcdir}/config.py ${prefix}/lib/cloudprint-cups/config.py
+ ${INSTALL} -D ${srcdir}/cloudprint.ppd ${prefix}/share/cups/model/CloudPrint.ppd

0 comments on commit 3017337

Please sign in to comment.
Something went wrong with that request. Please try again.