Annotation of OpenXM/src/gnuplot-diff/Makefile, Revision 1.6
1.6 ! maekawa 1: # $OpenXM: OpenXM/src/gnuplot-diff/Makefile,v 1.5 1999/11/17 07:46:07 maekawa Exp $
1.4 maekawa 2:
1.2 maekawa 3: GNUPLOT = ../gnuplot
1.1 maekawa 4: BINDIR = ../../bin
1.2 maekawa 5:
1.5 maekawa 6: all : patch
1.3 maekawa 7: (cd $(GNUPLOT) ; ./configure --with-x ; make )
1.6 ! maekawa 8: touch ./.make_done
! 9:
! 10: install:
! 11: cp $(GNUPLOT)/gnuplot $(BINDIR)/gnuplot4ox
! 12: cp $(GNUPLOT)/gnuplot_x11 $(BINDIR)/gnuplot_x11
1.1 maekawa 13:
1.5 maekawa 14: clean : patch-clean
1.6 ! maekawa 15: @if [ -f ./.make_done ]; then \
! 16: (cd $(GNUPLOT) ; make distclean ) \
! 17: fi
! 18: rm -f $(BINDIR)/gnuplot4ox $(BINDIR)/gnuplot_x11 ./.make_done
1.5 maekawa 19:
20: patch:
1.6 ! maekawa 21: @if [ ! -f ./.patch_done ]; then \
! 22: (cd $(GNUPLOT) ; patch < ../gnuplot-diff/plot.c.diff) \
! 23: fi
! 24: touch ./.patch_done
1.5 maekawa 25:
26: patch-clean:
1.6 ! maekawa 27: @if [ -f ./.patch_done ]; then \
! 28: (cd $(GNUPLOT) ; patch -R < ../gnuplot-diff/plot.c.diff) \
! 29: fi
! 30: rm -f ./.patch_done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>