$NetBSD: patch-af,v 1.1 2002/12/05 18:49:59 drochner Exp $ --- clients/Motif-2.0/mwm/Makefile.am.orig Tue May 1 08:37:20 2001 +++ clients/Motif-2.0/mwm/Makefile.am @@ -4,8 +4,12 @@ if Version_2_0 bin_PROGRAMS= mwm -endif +if DefaultVersion20 +bindir = $(exec_prefix)/bin +else bindir = $(exec_prefix)/LessTif/Motif2.0/bin +endif +endif MAINTAINERCLEANFILES=Makefile.in mwmlex.c mwmparse.c mwmparse.h @@ -34,6 +38,7 @@ # non-local stuff BUILT_SOURCES = $(HDRS_1_2) $(SRCS_1_2) $(mwmd_DATA) Mwm.ad +if Version_2_0 mwm_SOURCES = $(HDRS_1_2) $(SRCS_1_2) $(HDRS_2_0) $(SRCS_2_0) $(SRCS_1_2) $(HDRS_1_2): @@ -63,6 +68,7 @@ mwmddir= $(libdir)/X11/mwm mwmd_DATA= system.mwmrc alt.map README +endif $(mwmd_DATA) Mwm.ad: @@ -78,12 +84,6 @@ rm $$i; \ fi ; \ done - -install-data-hook: -if DefaultVersion20 - -rm -f $(DESTDIR)$(exec_prefix)/bin/$(bin_PROGRAMS) - (cd $(DESTDIR)$(exec_prefix)/bin && $(LN_S) ../LessTif/Motif2.0/bin/$(bin_PROGRAMS) .) -endif install-data-local: if DefaultVersion20