diff options
Diffstat (limited to 'math/xppaut/files/patch-Makefile')
-rw-r--r-- | math/xppaut/files/patch-Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/math/xppaut/files/patch-Makefile b/math/xppaut/files/patch-Makefile index 588c296aede3..37e2ce826ec7 100644 --- a/math/xppaut/files/patch-Makefile +++ b/math/xppaut/files/patch-Makefile @@ -49,7 +49,7 @@ #mkdir -p /usr/X11R6/man/man1 mkdir -p $(DESTDIR)$(MANDIR) +.ifndef NOPORTEXAMPLES -+ mkdir -p $(EXAMPLESDIR) ++ mkdir -p $(DESTDIR)$(EXAMPLESDIR) +.endif + # Put everything home @@ -57,7 +57,7 @@ install -m 755 xppaut $(DESTDIR)$(BINDIR) - cp -r ode* $(DESTDIR)$(DOCDIR)/examples +.ifndef NOPORTEXAMPLES -+ cp -r ode* $(EXAMPLESDIR) ++ cp -r ode* $(DESTDIR)$(EXAMPLESDIR) +.endif +.ifndef NOPORTDOCS cp -r help/* $(DESTDIR)$(DOCDIR)/html |