]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/Makefile
Merge changes from CUPS 1.5svn-r9641
[thirdparty/cups.git] / scheduler / Makefile
index 75a84994991c3d92e2a5739b7eb7857fe6987382..b297aec0afbac174d022a8086262f14c2ed866b1 100644 (file)
@@ -229,7 +229,7 @@ install-exec:
        $(INSTALL_BIN) cups-polld $(SERVERBIN)/daemon
        if test "x$(SYMROOT)" != "x"; then \
                $(INSTALL_DIR) $(SYMROOT); \
-               for file in $(DAEMONS); do \
+               for file in $(PROGRAMS); do \
                        cp $$file $(SYMROOT); \
                done \
        fi
@@ -558,6 +558,15 @@ testsub:   testsub.o ../cups/$(LIBCUPSSTATIC)
                $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ) $(LIBGSSAPI)
 
 
+#
+# Lines of code computation...
+#
+
+sloc:
+       echo "cupsd: \c"
+       sloccount $(CUPSDOBJS:.o=.c) $(LIBOBJS:.o=.c) cups-driverd.cxx cups-polld.c cups-lpd.c 2>/dev/null | grep "Total Physical" | awk '{print $$9}'
+
+
 #
 # Dependencies...
 #