From 55a3fa30f9c3b4efcf8cf92e8ec17e4e05a3081e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 4 Feb 2007 11:39:06 +0000 Subject: [PATCH] fix build of the service-type-database if srcdir != builddir (Closes #100) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1380 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- service-type-database/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/service-type-database/Makefile.am b/service-type-database/Makefile.am index d25f1a2..4e0c9f8 100644 --- a/service-type-database/Makefile.am +++ b/service-type-database/Makefile.am @@ -33,7 +33,8 @@ build-db: build-db.in chmod +x $@ service-types.db: service-types build-db - $(PYTHON) build-db $(srcdir)/$< $@ + $(PYTHON) build-db $< $@.coming + mv $@.coming $@ CLEANFILES = service-types.db build-db @@ -51,7 +52,8 @@ build-db: build-db.in service-types.db.pag: service-types.db service-types.db.dir: service-types.db service-types.db: service-types build-db - $(PYTHON) build-db $(srcdir)/$< $@ + $(PYTHON) build-db $< $@.coming + mv $@.coming $@ CLEANFILES = service-types.db* build-db -- 2.39.5