$NetBSD: patch-ba,v 1.1 2002/12/05 18:50:05 drochner Exp $ --- include/Motif-2.1/uil/Makefile.am.orig Wed Dec 6 08:26:37 2000 +++ include/Motif-2.1/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 DefaultVersion21 +uildir = $(prefix)/include/uil +else uildir = $(prefix)/LessTif/Motif2.1/include/uil +endif HEADERS1_2 = Uil.h UilDBDef.h UilDef.h UilSymDef.h UilSymGl.h HEADERS2_0 = @@ -34,11 +38,4 @@ fi ; \ done -endif -install-data-hook: -if Version_2_1 -if DefaultVersion21 - 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.1/include/uil uil) -endif endif