$NetBSD: patch-az,v 1.1 2002/12/05 18:50:04 drochner Exp $ --- include/Motif-2.1/Xm/Makefile.am.orig Sat Dec 23 05:46:22 2000 +++ include/Motif-2.1/Xm/Makefile.am @@ -9,7 +9,11 @@ # Lets put the headers in a sub directory to avoid # poluting /usr/local with more directories for default installs. # +if DefaultVersion21 +xmdir= $(prefix)/include/Xm +else xmdir= $(prefix)/LessTif/Motif2.1/include/Xm +endif HEADERS1_2 = \ ArrowB.h ArrowBG.h AtomMgr.h \ @@ -73,9 +77,3 @@ rm $$i; \ fi ; \ done - -install-data-hook: -if DefaultVersion21 - 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/Motif2.1/include/Xm Xm) -endif