]> git.meshlink.io Git - catta/commitdiff
some more fixes for r504
authorLennart Poettering <lennart@poettering.net>
Tue, 30 Aug 2005 18:15:47 +0000 (18:15 +0000)
committerLennart Poettering <lennart@poettering.net>
Tue, 30 Aug 2005 18:15:47 +0000 (18:15 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@508 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-utils/Makefile.am
avahi-utils/avahi/Makefile.am

index f5c69fa35651a103768794513f9ea3c631a466ec..1e10f2592e8a87fef8433e5301220aece2ce7f4e 100644 (file)
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 # USA.
 
-pythonscripts = \
-       avahi-publish-address \
-       avahi-publish-service \
-       avahi-browse \
-       avahi-bookmarks \
-       avahi-resolve-host-name \
-       avahi-resolve-address
-
 EXTRA_DIST = \
        avahi-publish-address.in \
        avahi-publish-service.in \
        avahi-browse.in \
        avahi-bookmarks.in \
        avahi-resolve-host-name.in \
-       avahi-resolve-address.in
+       avahi-resolve-address.in \
+       avahi-discover.in \
+       avahi-discover.desktop.in
 
+SUBDIRS=avahi
 
 if HAVE_PYTHON
 if HAVE_PYTHON_DBUS
-SUBDIRS=avahi
+if HAVE_PYGTK
 
+pythonscripts = \
+       avahi-publish-address \
+       avahi-publish-service \
+       avahi-browse \
+       avahi-bookmarks \
+       avahi-resolve-host-name \
+       avahi-resolve-address \
+       avahi-discover
 
-if HAVE_PYGTK
 desktopdir = $(datadir)/applications
 desktop_DATA = avahi-discover.desktop
 
-pythonscripts += avahi-discover
-
-EXTRA_DIST += \
-       avahi-discover.in
-       avahi-discover.desktop.in
-
 avahi-discover.desktop: avahi-discover.desktop.in
        sed -e 's,@bindir\@,$(bindir),g' $< > $@
        chmod +x $@
@@ -57,7 +53,6 @@ avahi-discover: avahi-discover.in
        sed -e 's,@PYTHON\@,$(PYTHON),g' \
                -e 's,@interfacesdir\@,$(interfacesdir),g' $< > $@
        chmod +x $@
-endif
 
 avahi-publish-address: avahi-publish-address.in
        sed -e 's,@PYTHON\@,$(PYTHON),g' $< > $@
@@ -82,8 +77,10 @@ avahi-resolve-host-name: avahi-resolve-host-name.in
 avahi-resolve-address: avahi-resolve-address.in
        sed -e 's,@PYTHON\@,$(PYTHON),g' $< > $@
        chmod +x $@
-endif
-endif
 
 bin_SCRIPTS = $(pythonscripts)
 CLEANFILES = $(pythonscripts) $(desktop_DATA)
+
+endif
+endif
+endif
index 53e56a3d4d8d84efdbc93fb621d571eccc8d6982..68006345f4065b9eeebdd6b53c0de752714ab045 100644 (file)
 EXTRA_DIST = __init__.py SimpleGladeApp.py ServiceTypeDatabase.py.in
 
 if HAVE_PYTHON
+
 avahidir = $(pythondir)/avahi
 
-avahi_PYTHON = __init__.py SimpleGladeApp.py 
 avahi_SCRIPTS = ServiceTypeDatabase.py
 
+if HAVE_PYTHON_DBUS
+if HAVE_PYGTK
+
+avahi_PYTHON = __init__.py SimpleGladeApp.py 
+
 ServiceTypeDatabase.py: ServiceTypeDatabase.py.in
        sed -e 's,@PYTHON\@,$(PYTHON),g' \
                -e 's,@pkgdatadir\@,$(pkgdatadir),g' $< > $@
        chmod +x $@
 
-CLEANFILES=*.pyc *.pyo ServiceTypeDatabase.py
-
 endif
+endif
+endif
+
+CLEANFILES=*.pyc *.pyo ServiceTypeDatabase.py