]> git.meshlink.io Git - catta/commitdiff
service-types.db belongs in /lib, closes #171, rhbz 274731
authorLennart Poettering <lennart@poettering.net>
Thu, 6 Sep 2007 17:49:29 +0000 (17:49 +0000)
committerLennart Poettering <lennart@poettering.net>
Thu, 6 Sep 2007 17:49:29 +0000 (17:49 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1537 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-ui/Makefile.am
avahi-utils/Makefile.am
service-type-database/Makefile.am

index c5ef64d22493bcb671fb23fbc5254cc276276627..1cda53025691bbd47e7aa5d5c7a0338607074233 100644 (file)
@@ -47,13 +47,13 @@ libavahi_ui_la_LDFLAGS = $(AM_LDFLAGS) -export-dynamic -version-info $(LIBAVAHI_
 
 if HAVE_GDBM
 libavahi_ui_la_SOURCES += ../avahi-utils/stdb.h ../avahi-utils/stdb.c
-libavahi_ui_la_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+libavahi_ui_la_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
 libavahi_ui_la_LIBADD += -lgdbm
 endif
 
 if HAVE_DBM
 libavahi_ui_la_SOURCES += ../avahi-utils/stdb.h ../avahi-utils/stdb.c
-libavahi_ui_la_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+libavahi_ui_la_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
 endif
 
 bin_PROGRAMS = bssh
index 3d371b00878fb0324c24a2dd6b4d2a2730ca0f7f..21993c3802cce7cb7bf6a1b560a7703649071792 100644 (file)
@@ -32,13 +32,13 @@ avahi_browse_LDADD = $(AM_LDADD) ../avahi-client/libavahi-client.la ../avahi-com
 
 if HAVE_GDBM
 avahi_browse_SOURCES += stdb.h stdb.c
-avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
 avahi_browse_LDADD += -lgdbm
 endif
 
 if HAVE_DBM
 avahi_browse_SOURCES += stdb.h stdb.c
-avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkglibdir)/service-types.db\"
 endif
 
 avahi_resolve_SOURCES = avahi-resolve.c sigint.c sigint.h
index c41dc70b1a5e6f39cd340ab99ddf4a45beae8db5..60fda4524d8cc3087c793ab4fd95a3172e17213d 100644 (file)
 EXTRA_DIST=build-db.in service-types
 
 pkgdata_DATA=service-types
+pkglib_DATA=
 
 if HAVE_PYTHON
 if HAVE_GDBM
 
 noinst_SCRIPTS=build-db
-pkgdata_DATA+=service-types.db
+pkglib_DATA+=service-types.db
 
 build-db: build-db.in
        sed -e 's,@PYTHON\@,$(PYTHON),g' \
@@ -42,7 +43,7 @@ endif
 if HAVE_DBM
 
 noinst_SCRIPTS=build-db
-pkgdata_DATA+=service-types.db.pag service-types.db.dir
+pkglib_DATA+=service-types.db.pag service-types.db.dir
 
 build-db: build-db.in
        sed -e 's,@PYTHON\@,$(PYTHON),g' \