kopia lustrzana https://gitlab.com/sane-project/backends
Makefile: Utilize Automake macros for silent rules output
Building with --enable-silent-rules makes it easier to identify errors or warnings in the build output. Automake provides macros for custom rules to use, so that they will print a similar message to rules which run the compiler or linker: ... CC libpieusb_la-pieusb.lo CCLD libpieusb.la CCLD libsane-pieusb.la CC libsane_pixma_la-pixma-s.lo GEN pixma/pixma_sane_options.h GEN pixma/pixma_sane_options.c CC pixma/libpixma_la-pixma.lo ... This does not change the current output if silent rules are disabled.escl-add-user-and-password
rodzic
939d62f836
commit
03bfd4232c
|
@ -93,7 +93,8 @@ becfg: $(BACKEND_CONFS)
|
|||
|
||||
SUFFIXES = .conf.in .conf
|
||||
.conf.in.conf:
|
||||
@echo Generating $@ from $^
|
||||
$(AM_V_GEN)
|
||||
@if $(AM_V_P); then echo Generating $@ from $^; fi
|
||||
@sed -e 's|@DATADIR@|$(datadir)|g' \
|
||||
-e 's|@CONFIGDIR@|$(configdir)|g' \
|
||||
-e 's|@DOCDIR@|$(docdir)|g' \
|
||||
|
@ -1452,10 +1453,12 @@ libpixma_la_CPPFLAGS = $(AM_CPPFLAGS) $(XML_CFLAGS) -DBACKEND_NAME=pixma
|
|||
pixma/pixma.c: pixma/pixma_sane_options.h pixma/pixma_sane_options.c
|
||||
|
||||
pixma/pixma_sane_options.h:
|
||||
@echo Generating $@ from $(@D)/pixma.c
|
||||
$(AM_V_GEN)
|
||||
@if $(AM_V_P); then echo Generating $@ from $(@D)/pixma.c; fi
|
||||
@(cd $(@D); $(PYTHON) scripts/pixma_gen_options.py h < pixma.c > $(@F))
|
||||
pixma/pixma_sane_options.c:
|
||||
@echo Generating $@ from $(@D)/pixma.c
|
||||
$(AM_V_GEN)
|
||||
@if $(AM_V_P); then echo Generating $@ from $(@D)/pixma.c; fi
|
||||
@(cd $(@D); $(PYTHON) scripts/pixma_gen_options.py < pixma.c > $(@F))
|
||||
|
||||
EXTRA_DIST += pixma/pixma_sane_options.c
|
||||
|
|
|
@ -95,7 +95,8 @@ MAN2HTML = nroff -c -man |\
|
|||
sed 's,<BODY>,<BODY BGCOLOR=\#FFFFFF TEXT=\#000000><H1 ALIGN=CENTER><IMG SRC="/images/sane.png" HEIGHT=117 WIDTH=346></H1>,'
|
||||
|
||||
%.1 %.5 %.7 %.8: %.man
|
||||
@echo "Generating manpage $@...";
|
||||
$(AM_V_GEN)
|
||||
@if $(AM_V_P); then echo "Generating manpage $@..."; fi
|
||||
@sed -e 's|@DATADIR@|$(datadir)|g' \
|
||||
-e 's|@CONFIGDIR@|$(configdir)|g' \
|
||||
-e 's|@DOCDIR@|$(docdir)|g' \
|
||||
|
|
Ładowanie…
Reference in New Issue