]> git.meshlink.io Git - catta/commitdiff
fix build of the service-type-database if srcdir != builddir (Closes #100)
authorLennart Poettering <lennart@poettering.net>
Sun, 4 Feb 2007 11:39:06 +0000 (11:39 +0000)
committerLennart Poettering <lennart@poettering.net>
Sun, 4 Feb 2007 11:39:06 +0000 (11:39 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1380 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

service-type-database/Makefile.am

index d25f1a2fa10473cd76dd15be1a82f5442ff141f6..4e0c9f86cd3413743484fa88db3106aed58a948f 100644 (file)
@@ -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