summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/Makefile b/test/Makefile
index 49eb45770..6730f6068 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -167,14 +167,18 @@ depend: $(CPPFILES)
include makedepend
clean:
- -@ rm -f $(ALL) $(GLALL) *.o core *~
+ -$(RM) $(ALL) $(GLALL) core
+ -$(RM) *.o core.* *~ *.bck *.bak
install:
- @echo Nothing to install in test directory.
+ echo "Installing example programs to $(DESTDIR)$(docdir)/examples..."
+ -$(MKDIR) $(DESTDIR)$(docdir)/examples
+ $(CP) *.h *.cxx *.fl $(DESTDIR)$(docdir)/examples
+ $(CHMOD) 644 $(DESTDIR)$(docdir)/examples/*.*
uninstall:
- @echo Nothing to uninstall in test directory.
-
+ echo "Removing examples programs from $(DESTDIR)$(docdir)/examples..."
+ -$(RMDIR) $(DESTDIR)$(docdir)/examples
# FLUID file rules
.fl.cxx .fl.h: ../fluid/fluid$(EXEEXT)