|
From: <rla...@pr...> - 2004-01-25 14:33:29
|
Update of /cvsroot/plplot/plplot/examples/c++ In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5115 Modified Files: Makefile.am Log Message: Put the install-data-hook rule outside the enable_cxx conditional. Configure --disable-cxx should work now. Index: Makefile.am =================================================================== RCS file: /cvsroot/plplot/plplot/examples/c++/Makefile.am,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- Makefile.am 17 Jan 2004 16:41:38 -0000 1.13 +++ Makefile.am 25 Jan 2004 14:32:44 -0000 1.14 @@ -52,12 +52,6 @@ $(sources) \ Makefile.examples -install-data-hook: - ( cd $(DESTDIR)/$(examples_cxxdir) ; \ - mv -f Makefile.examples Makefile ; \ - rm -f lena.pgm ; \ - $(LN_S) ../c/lena.pgm lena.pgm ) - libplplotcxx = $(top_builddir)/bindings/c++/libplplotcxx$(LIB_TAG).la check_PROGRAMS = \ @@ -112,5 +106,13 @@ # enable_cxx endif +install-data-hook: +if enable_cxx + ( cd $(DESTDIR)/$(examples_cxxdir) ; \ + mv -f Makefile.examples Makefile ; \ + rm -f lena.pgm ; \ + $(LN_S) ../c/lena.pgm lena.pgm ) +endif + EXTRA_DIST = $(sources) Makefile.examples.in DISTCLEANFILES = Makefile.examples |