$NetBSD: patch-ay,v 1.2 2001/06/30 19:08:25 jlam Exp $ --- include/Motif-2.1/Mrm/Makefile.am.orig Mon Nov 27 05:36:00 2000 +++ include/Motif-2.1/Mrm/Makefile.am @@ -10,7 +10,11 @@ # Lets put the headers in a sub directory to avoid # poluting /usr/local with more directories for default installs. # +if DefaultVersion21 +mrmdir = $(prefix)/include/Mrm +else mrmdir = $(prefix)/LessTif/Motif2.1/include/Mrm +endif HEADERS1_2 = MrmAppl.h MrmDecls.h MrmPrivate.h MrmPublic.h HEADERS2_0 = @@ -33,12 +37,3 @@ done endif -# -# -install-data-hook: -if Version_2_1 -if DefaultVersion21 - if [ -d $(DESTDIR)$(prefix)/include/Mrm ]; then rm -rf $(DESTDIR)$(prefix)/include/Mrm; else rm -f $(DESTDIR)$(prefix)/include/Mrm; fi - (mkdir -p $(DESTDIR)$(prefix)/include && cd $(DESTDIR)$(prefix)/include && $(LN_S) ../LessTif/Motif2.1/include/Mrm Mrm) -endif -endif