[gnome-desktop] [build] Beautify a bit the pnp.ids part in Makefile



commit b5e9326c3c8b3e744603816d3a234af5a442e5bb
Author: Vincent Untz <vuntz gnome org>
Date:   Wed Jul 29 14:08:27 2009 +0200

    [build] Beautify a bit the pnp.ids part in Makefile

 libgnome-desktop/Makefile.am |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/libgnome-desktop/Makefile.am b/libgnome-desktop/Makefile.am
index 562ba72..5b3fe90 100644
--- a/libgnome-desktop/Makefile.am
+++ b/libgnome-desktop/Makefile.am
@@ -47,8 +47,9 @@ test_ditem_LDADD = \
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = gnome-desktop-2.0.pc
 
-pnpdatadir = $(datadir)/libgnome-desktop
+pnpdata_DATA_dist = pnp.ids
 if USE_INTERNAL_PNP_IDS
+pnpdatadir = $(datadir)/libgnome-desktop
 pnpdata_DATA = pnp.ids
 endif
 
@@ -58,7 +59,7 @@ check:
 EXTRA_DIST = \
 	gnome-desktop-2.0.pc.in                \
 	gnome-desktop-2.0-uninstalled.pc.in    \
-	pnp.ids
+	$(pnpdata_DATA_dist)
 
 MAINTAINERCLEANFILES = \
 	pnp.ids



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]