[avahi] [PATCH] avahi-0.6.31: fix avahi-python Makefile for install target without DESTDIR
Guido Trentalancia
guido at trentalancia.com
Fri Feb 17 19:45:26 PST 2012
Hello.
The following patch is intended to fix an installation error introduced
in version 0.6.31 and showing up when DESTDIR is not defined:
--- avahi-0.6.31-orig/avahi-python/avahi/Makefile.in 2012-02-14 23:36:37.346061317 +0100
+++ avahi-0.6.31/avahi-python/avahi/Makefile.in 2012-02-18 04:32:32.474681328 +0100
@@ -456,8 +456,12 @@ install-avahiPYTHON: $(avahi_PYTHON)
$(INSTALL_DATA) $$files "$(DESTDIR)$(avahidir)" || exit $$?; \
done || exit $$?; \
if test -n "$$dlist"; then \
- $(am__py_compile) --destdir "$(DESTDIR)" \
- --basedir "$(avahidir)" $$dlist; \
+ if test -z "$(DESTDIR)"; then \
+ $(am__py_compile) --destdir "$(DESTDIR)" \
+ --basedir "$(avahidir)" $$dlist; \
+ else
+ $(am__py_compile) --basedir "$(avahidir)" $$dlist; \
+ fi; \
else :; fi
uninstall-avahiPYTHON:
More information about the avahi
mailing list