version 1.8, 1999/11/22 08:38:25 |
version 1.9, 1999/11/27 20:30:03 |
|
|
# $OpenXM: OpenXM/src/gnuplot-diff/Makefile,v 1.7 1999/11/22 08:02:10 maekawa Exp $ |
# $OpenXM: OpenXM/src/gnuplot-diff/Makefile,v 1.8 1999/11/22 08:38:25 maekawa Exp $ |
|
|
GNUPLOT = ../gnuplot |
GNUPLOT = ../../../OpenXM_contrib/gnuplot |
|
PATCHDIR = ../../OpenXM/src/gnuplot-diff |
CURDIR = ../gnuplot-diff |
CURDIR = ../gnuplot-diff |
BINDIR = ../../bin |
BINDIR = ../../bin |
|
|
Line 23 clean : patch-clean |
|
Line 24 clean : patch-clean |
|
|
|
patch: |
patch: |
@if [ ! -f $(CURDIR)/.patch_done ]; then \ |
@if [ ! -f $(CURDIR)/.patch_done ]; then \ |
(cd $(GNUPLOT) ; patch < $(CURDIR)/plot.c.diff) \ |
(cd $(GNUPLOT) ; patch < $(PATCHDIR)/plot.c.diff) \ |
fi |
fi |
@touch $(CURDIR)/.patch_done |
@touch $(CURDIR)/.patch_done |
|
|
patch-clean: |
patch-clean: |
@if [ -f $(CURDIR)/.patch_done ]; then \ |
@if [ -f $(CURDIR)/.patch_done ]; then \ |
(cd $(GNUPLOT) ; patch -R < $(CURDIR)/plot.c.diff) \ |
(cd $(GNUPLOT) ; patch -R < $(PATCHDIR)/plot.c.diff) \ |
fi |
fi |
@rm -f $(CURDIR)/.patch_done |
@rm -f $(CURDIR)/.patch_done |