Permalink
Browse files

Auto-detect CUPS group in makefile

  • Loading branch information...
simoncadman committed Jan 15, 2013
1 parent f58af0a commit 36d30aa408db1f449931b5dc393c75a9d4faad12
Showing with 148 additions and 95 deletions.
  1. +2 −1 Makefile.in
  2. +129 −93 configure
  3. +17 −1 configure.in
View
@@ -3,6 +3,7 @@ srcdir = @srcdir@
INSTALL = @INSTALL@
cupsbackend = ${DESTDIR}@cupsserverpath@/backend/
cupsmodel = ${DESTDIR}@cupsdatapath@/model/
+cupsgroup = @cupsgroup@
ppdcpath = @ppdcpath@
all: cloudprint.ppd
@@ -25,5 +26,5 @@ install: all
${INSTALL} ${srcdir}/cloudprint.ppd ${cupsmodel}CloudPrint.ppd
mkdir -p $(DESTDIR)/var/log/cups/
touch $(DESTDIR)/var/log/cups/cloudprint_log
- chown root:lp $(DESTDIR)/var/log/cups/cloudprint_log
+ chown root:${cupsgroup} $(DESTDIR)/var/log/cups/cloudprint_log
chmod 660 $(DESTDIR)/var/log/cups/cloudprint_log
Oops, something went wrong.

0 comments on commit 36d30aa

Please sign in to comment.