X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=service-type-database%2FMakefile.am;h=fa1bd404619169f33156c9cedb890d8b1de5f800;hb=8b025aebc8b1286c2b9e0220e95339b5264e5bca;hp=60fda4524d8cc3087c793ab4fd95a3172e17213d;hpb=c26c9b195bd3eb56880abdec89a8a02d045046d4;p=catta diff --git a/service-type-database/Makefile.am b/service-type-database/Makefile.am index 60fda45..fa1bd40 100644 --- a/service-type-database/Makefile.am +++ b/service-type-database/Makefile.am @@ -1,7 +1,5 @@ -# $Id$ -# # This file is part of avahi. -# +# # avahi is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as # published by the Free Software Foundation; either version 2 of the @@ -29,12 +27,12 @@ noinst_SCRIPTS=build-db pkglib_DATA+=service-types.db build-db: build-db.in - sed -e 's,@PYTHON\@,$(PYTHON),g' \ - -e 's,@DBM\@,gdbm,g' $< > $@ + $(AM_V_GEN)sed -e 's,@PYTHON\@,$(PYTHON),g' \ + -e 's,@DBM\@,gdbm,g' $< > $@ && \ chmod +x $@ service-types.db: service-types build-db - $(PYTHON) build-db $< $@.coming + $(AM_V_GEN)$(PYTHON) build-db $< $@.coming && \ mv $@.coming $@ CLEANFILES = service-types.db build-db @@ -46,16 +44,16 @@ noinst_SCRIPTS=build-db pkglib_DATA+=service-types.db.pag service-types.db.dir build-db: build-db.in - sed -e 's,@PYTHON\@,$(PYTHON),g' \ - -e 's,@DBM\@,dbm,g' $< > $@ + $(AM_V_GEN)sed -e 's,@PYTHON\@,$(PYTHON),g' \ + -e 's,@DBM\@,dbm,g' $< > $@ && \ chmod +x $@ service-types.db.pag: service-types.db - mv service-types.db.coming.pag service-types.db.pag + $(AM_V_GEN)mv service-types.db.coming.pag service-types.db.pag service-types.db.dir: service-types.db - mv service-types.db.coming.dir service-types.db.dir + $(AM_V_GEN)mv service-types.db.coming.dir service-types.db.dir service-types.db: service-types build-db - $(PYTHON) build-db $< $@.coming + $(AM_V_GEN)$(PYTHON) build-db $< $@.coming && \ if test -f "$@.coming"; then mv $@.coming $@; fi CLEANFILES = service-types.db* build-db