Makefile: Add the beginnings of an install rule.

This commit is contained in:
Jonathan Moore Liles 2008-06-19 22:33:43 -05:00
parent 170b11010e
commit c8a74348ba
1 changed files with 18 additions and 0 deletions

View File

@ -68,6 +68,24 @@ ifneq ($(CALCULATING),yes)
@ makedepend -f- -- $(CXXFLAGS) $(INCLUDES) -- $(SRCS) 2>/dev/null > .deps && echo $(DONE)
endif
install: all
@ echo -n "Installing..."
@ install Timeline/timeline $(prefix)/bin/non-daw
# @ install Mixer/mixer $(prefix)/bin/non-mixer
@ mkdir -p $(prefix)/share/non-daw
@ mkdir -p $(prefix)/share/pixmaps/non-daw
@ mkdir -p $(prefix)/doc/non-daw
@ cp pixmaps/*.png $(prefix)/share/pixmaps/non-daw
@ cp doc/*.html doc/*.png $(prefix)/doc/non-daw
@ cp COPYING $(prefix)/doc/non-daw
@ echo "$(DONE)"
ifneq ($(USE_DEBUG),yes)
@ echo -n "Stripping..."
@ strip $(prefix)/bin/non-daw
@ strip $(prefix)/bin/non-mixer
@ echo "$(DONE)"
endif
clean_deps:
@ rm -f .deps