$NetBSD: patch-ax,v 1.1 2002/12/05 18:50:04 drochner Exp $ --- include/Motif-2.0/uil/Makefile.am.orig Wed Oct 25 06:16:07 2000 +++ include/Motif-2.0/uil/Makefile.am @@ -11,7 +11,11 @@ # Lets put the headers in a sub directory to avoid # poluting /usr/local with more directories for default installs. # +if DefaultVersion20 +uildir = $(prefix)/include/uil +else uildir = $(prefix)/LessTif/Motif2.0/include/uil +endif HEADERS1_2 = Uil.h UilDBDef.h UilDef.h UilSymDef.h UilSymGl.h @@ -29,11 +33,4 @@ fi ; \ done -endif -install-data-hook: -if Version_2_0 -if DefaultVersion20 - if [ -d $(DESTDIR)$(prefix)/include/uil ]; then rm -rf $(DESTDIR)$(prefix)/include/uil; else rm -f $(DESTDIR)$(prefix)/include/uil; fi - (mkdir -p $(DESTDIR)$(prefix)/include && cd $(DESTDIR)$(prefix)/include && $(LN_S) ../LessTif/Motif2.0/include/uil uil) -endif endif