From: Yaakov Selkowitz <[email protected]>

Signed-off-by: Yaakov Selkowitz <[email protected]>
---
 Makefile.am     |    3 +++
 src/Makefile.am |   14 ++++++++++++++
 2 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 5eed6e3..25ad354 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -34,6 +34,9 @@ EXTRA_DIST =             \
 install-exec-hook:
        cd $(DESTDIR)$(libdir) && rm -f libx...@libext@ && $(LN_S) 
$(DEFAULT_LIB) libx...@libext@
 
+uninstall-local:
+       -rm -f $(DESTDIR)$(libdir)/libx...@libext@
+
 
 .PHONY: ChangeLog INSTALL
 
diff --git a/src/Makefile.am b/src/Makefile.am
index 2aa9980..a77bb13 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -85,6 +85,13 @@ else
        -rm -f $(DESTDIR)$(libdir)/libx...@[email protected]
        (cd $(DESTDIR)$(libdir) && ln -s libxa...@[email protected] libx...@[email protected])
 endif
+
+uninstall-local::
+if PLATFORM_DARWIN
+       -rm -f $(DESTDIR)$(libdir)/libxaw...@libext@
+else
+       -rm -f $(DESTDIR)$(libdir)/libx...@[email protected]
+endif
 endif
 
 endif
@@ -114,6 +121,13 @@ else
        -rm -f $(DESTDIR)$(libdir)/libx...@[email protected]
        (cd $(DESTDIR)$(libdir) && ln -s libxa...@[email protected] libx...@[email protected])
 endif
+
+uninstall-local::
+if PLATFORM_DARWIN
+       -rm -f $(DESTDIR)$(libdir)/libxaw...@libext@
+else
+       -rm -f $(DESTDIR)$(libdir)/libx...@[email protected]
+endif
 endif
 
 endif
-- 
1.7.1

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to