clean-local:
@for filen in `find . -maxdepth 1` ; do \
case $${filen} in \
- ./Makefile | ./doxyfile | ./doxyfile_idl ) ;; \
- . | .. | ./static ) ;; \
+ ./Makefile* | ./doxyfile* | ./images | ./input | ./static ) ;; \
+ . | .. | ./CVS ) ;; \
*) echo "Removing $${filen}" ; rm -rf $${filen} ;; \
esac ; \
done ;
-install-data-local: usr_docs
- $(INSTALL) -d $(DESTDIR)$(docdir)/gui/VISU
- @for filen in `find . -maxdepth 1` ; do \
+install-data-local:
+ @if [ -e main.html ]; then \
+ $(INSTALL) -d $(DESTDIR)$(docdir)/gui/VISU ; \
+ for filen in `find . -maxdepth 1` ; do \
case $${filen} in \
- ./Makefile | ./doxyfile | ./doxyfile_idl ) ;; \
- ./doxyfile.bak | ./doxyfile_idl.bak ) ;; \
+ ./Makefile* | ./doxyfile* ) ;; \
. | .. | ./static ) ;; \
*) echo "Installing $${filen}" ; cp -rp $${filen} $(DESTDIR)$(docdir)/gui/VISU ;; \
esac ; \
- done ;
+ done ; \
+ fi
uninstall-local:
rm -rf $(DESTDIR)$(docdir)/gui/VISU