$NetBSD: patch-ab,v 1.1 2002/12/05 18:49:58 drochner Exp $ --- clients/Motif-1.2/mwm/Makefile.am.orig Tue May 1 08:37:19 2001 +++ clients/Motif-1.2/mwm/Makefile.am @@ -4,8 +4,8 @@ if Version_1_2 bin_PROGRAMS= mwm -endif bindir = $(exec_prefix)/LessTif/Motif1.2/bin +endif MAINTAINERCLEANFILES=Makefile.in mwmlex.c mwmparse.c mwmparse.h @@ -17,6 +17,7 @@ Additional_Src = gethostname.c endif +if Version_1_2 mwm_SOURCES= colormaps.c cursors.c decorate.c defaults.c desktop.c \ events.c functions.c icons.c menus.c misc.c move.c \ mwm.c mwm.h mwmparse.y mwmlex.l mwmstrings.h \ @@ -39,6 +40,7 @@ mwmddir= $(libdir)/X11/mwm mwmd_DATA= system.mwmrc alt.map README +endif EXTRA_DIST= Mwm.ad Mwm.mlm system.mwmrc alt.map README gethostname.c @@ -50,12 +52,6 @@ mwmlex.o: mwmparse.h YFLAGS= -d - -install-data-hook: -if DefaultVersion12 - -rm -f $(DESTDIR)$(exec_prefix)/bin/$(bin_PROGRAMS) - (cd $(DESTDIR)$(exec_prefix)/bin && $(LN_S) ../LessTif/Motif1.2/bin/$(bin_PROGRAMS) .) -endif install-data-local: if DefaultVersion12