]> git.meshlink.io Git - catta/commitdiff
Fix service type database building on Solaris (Patch from Padraig O'Briain)
authorLennart Poettering <lennart@poettering.net>
Thu, 8 Feb 2007 11:33:36 +0000 (11:33 +0000)
committerLennart Poettering <lennart@poettering.net>
Thu, 8 Feb 2007 11:33:36 +0000 (11:33 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1394 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

service-type-database/Makefile.am

index 4e0c9f86cd3413743484fa88db3106aed58a948f..c41dc70b1a5e6f39cd340ab99ddf4a45beae8db5 100644 (file)
@@ -50,10 +50,12 @@ build-db: build-db.in
        chmod +x $@
 
 service-types.db.pag: service-types.db
+       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
 service-types.db: service-types build-db
        $(PYTHON) build-db $< $@.coming
-       mv $@.coming $@
+       if test -f "$@.coming"; then mv $@.coming $@; fi
 
 CLEANFILES = service-types.db* build-db