$NetBSD: patch-at,v 1.8 2000/12/22 17:26:19 jlam Exp $ --- include/Motif-1.2/Xm/Makefile.am.orig Wed Oct 11 15:36:18 2000 +++ include/Motif-1.2/Xm/Makefile.am @@ -73,6 +73,7 @@ EXTRA_DIST= $(xm_both_h) +if Version_1_2 # # Install headers # @@ -81,8 +82,6 @@ # xmdir= $(prefix)/LessTif/Motif1.2/include/Xm -if Version_1_2 - xm_HEADERS = $(xm_both_h) # # Note Xm.h is built by configure, therefore it's not necessarily in @@ -91,17 +90,4 @@ # xm_DATA = Xm.h -else -# -# Not Version_1_2 -# -xm_HEADERS = $(xm_12_h) - -endif -install-data-hook: -if Version_1_2 -if DefaultVersion12 - if [ -d $(DESTDIR)$(prefix)/include/Xm ]; then rm -rf $(DESTDIR)$(prefix)/include/Xm; else rm -f $(DESTDIR)$(prefix)/include/Xm; fi - (mkdir -p $(DESTDIR)$(prefix)/include && cd $(DESTDIR)$(prefix)/include && $(LN_S) ../LessTif/Motif1.2/include/Xm Xm) -endif endif